com.pulumi.googlenative.privateca.v1.inputs.ObjectIdArgs Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.googlenative.privateca.v1.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.util.List;
import java.util.Objects;
/**
* An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
*
*/
public final class ObjectIdArgs extends com.pulumi.resources.ResourceArgs {
public static final ObjectIdArgs Empty = new ObjectIdArgs();
/**
* The parts of an OID path. The most significant parts of the path come first.
*
*/
@Import(name="objectIdPath", required=true)
private Output> objectIdPath;
/**
* @return The parts of an OID path. The most significant parts of the path come first.
*
*/
public Output> objectIdPath() {
return this.objectIdPath;
}
private ObjectIdArgs() {}
private ObjectIdArgs(ObjectIdArgs $) {
this.objectIdPath = $.objectIdPath;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ObjectIdArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ObjectIdArgs $;
public Builder() {
$ = new ObjectIdArgs();
}
public Builder(ObjectIdArgs defaults) {
$ = new ObjectIdArgs(Objects.requireNonNull(defaults));
}
/**
* @param objectIdPath The parts of an OID path. The most significant parts of the path come first.
*
* @return builder
*
*/
public Builder objectIdPath(Output> objectIdPath) {
$.objectIdPath = objectIdPath;
return this;
}
/**
* @param objectIdPath The parts of an OID path. The most significant parts of the path come first.
*
* @return builder
*
*/
public Builder objectIdPath(List objectIdPath) {
return objectIdPath(Output.of(objectIdPath));
}
/**
* @param objectIdPath The parts of an OID path. The most significant parts of the path come first.
*
* @return builder
*
*/
public Builder objectIdPath(Integer... objectIdPath) {
return objectIdPath(List.of(objectIdPath));
}
public ObjectIdArgs build() {
$.objectIdPath = Objects.requireNonNull($.objectIdPath, "expected parameter 'objectIdPath' to be non-null");
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy