Class ComponentState.Builder
- java.lang.Object
-
- com.pulumi.aws.imagebuilder.inputs.ComponentState.Builder
-
- Enclosing class:
- ComponentState
public static final class ComponentState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ComponentState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ComponentState.Builder
arn(com.pulumi.core.Output<java.lang.String> arn)
ComponentState.Builder
arn(java.lang.String arn)
ComponentState
build()
ComponentState.Builder
changeDescription(com.pulumi.core.Output<java.lang.String> changeDescription)
ComponentState.Builder
changeDescription(java.lang.String changeDescription)
ComponentState.Builder
data(com.pulumi.core.Output<java.lang.String> data)
ComponentState.Builder
data(java.lang.String data)
ComponentState.Builder
dateCreated(com.pulumi.core.Output<java.lang.String> dateCreated)
ComponentState.Builder
dateCreated(java.lang.String dateCreated)
ComponentState.Builder
description(com.pulumi.core.Output<java.lang.String> description)
ComponentState.Builder
description(java.lang.String description)
ComponentState.Builder
encrypted(com.pulumi.core.Output<java.lang.Boolean> encrypted)
ComponentState.Builder
encrypted(java.lang.Boolean encrypted)
ComponentState.Builder
kmsKeyId(com.pulumi.core.Output<java.lang.String> kmsKeyId)
ComponentState.Builder
kmsKeyId(java.lang.String kmsKeyId)
ComponentState.Builder
name(com.pulumi.core.Output<java.lang.String> name)
ComponentState.Builder
name(java.lang.String name)
ComponentState.Builder
owner(com.pulumi.core.Output<java.lang.String> owner)
ComponentState.Builder
owner(java.lang.String owner)
ComponentState.Builder
platform(com.pulumi.core.Output<java.lang.String> platform)
ComponentState.Builder
platform(java.lang.String platform)
ComponentState.Builder
skipDestroy(com.pulumi.core.Output<java.lang.Boolean> skipDestroy)
ComponentState.Builder
skipDestroy(java.lang.Boolean skipDestroy)
ComponentState.Builder
supportedOsVersions(com.pulumi.core.Output<java.util.List<java.lang.String>> supportedOsVersions)
ComponentState.Builder
supportedOsVersions(java.lang.String... supportedOsVersions)
ComponentState.Builder
supportedOsVersions(java.util.List<java.lang.String> supportedOsVersions)
ComponentState.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
ComponentState.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
ComponentState.Builder
tagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.ComponentState.Builder
tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.ComponentState.Builder
type(com.pulumi.core.Output<java.lang.String> type)
ComponentState.Builder
type(java.lang.String type)
ComponentState.Builder
uri(com.pulumi.core.Output<java.lang.String> uri)
ComponentState.Builder
uri(java.lang.String uri)
ComponentState.Builder
version(com.pulumi.core.Output<java.lang.String> version)
ComponentState.Builder
version(java.lang.String version)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ComponentState defaults)
-
-
Method Detail
-
arn
public ComponentState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn
- (Required) Amazon Resource Name (ARN) of the component.- Returns:
- builder
-
arn
public ComponentState.Builder arn(java.lang.String arn)
- Parameters:
arn
- (Required) Amazon Resource Name (ARN) of the component.- Returns:
- builder
-
changeDescription
public ComponentState.Builder changeDescription(@Nullable com.pulumi.core.Output<java.lang.String> changeDescription)
- Parameters:
changeDescription
- Change description of the component.- Returns:
- builder
-
changeDescription
public ComponentState.Builder changeDescription(java.lang.String changeDescription)
- Parameters:
changeDescription
- Change description of the component.- Returns:
- builder
-
data
public ComponentState.Builder data(@Nullable com.pulumi.core.Output<java.lang.String> data)
- Parameters:
data
- Inline YAML string with data of the component. Exactly one of `data` and `uri` can be specified. the provider will only perform drift detection of its value when present in a configuration.- Returns:
- builder
-
data
public ComponentState.Builder data(java.lang.String data)
- Parameters:
data
- Inline YAML string with data of the component. Exactly one of `data` and `uri` can be specified. the provider will only perform drift detection of its value when present in a configuration.- Returns:
- builder
-
dateCreated
public ComponentState.Builder dateCreated(@Nullable com.pulumi.core.Output<java.lang.String> dateCreated)
- Parameters:
dateCreated
- Date the component was created.- Returns:
- builder
-
dateCreated
public ComponentState.Builder dateCreated(java.lang.String dateCreated)
- Parameters:
dateCreated
- Date the component was created.- Returns:
- builder
-
description
public ComponentState.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description
- Description of the component.- Returns:
- builder
-
description
public ComponentState.Builder description(java.lang.String description)
- Parameters:
description
- Description of the component.- Returns:
- builder
-
encrypted
public ComponentState.Builder encrypted(@Nullable com.pulumi.core.Output<java.lang.Boolean> encrypted)
- Parameters:
encrypted
- Encryption status of the component.- Returns:
- builder
-
encrypted
public ComponentState.Builder encrypted(java.lang.Boolean encrypted)
- Parameters:
encrypted
- Encryption status of the component.- Returns:
- builder
-
kmsKeyId
public ComponentState.Builder kmsKeyId(@Nullable com.pulumi.core.Output<java.lang.String> kmsKeyId)
- Parameters:
kmsKeyId
- Amazon Resource Name (ARN) of the Key Management Service (KMS) Key used to encrypt the component.- Returns:
- builder
-
kmsKeyId
public ComponentState.Builder kmsKeyId(java.lang.String kmsKeyId)
- Parameters:
kmsKeyId
- Amazon Resource Name (ARN) of the Key Management Service (KMS) Key used to encrypt the component.- Returns:
- builder
-
name
public ComponentState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- Name of the component.- Returns:
- builder
-
name
public ComponentState.Builder name(java.lang.String name)
- Parameters:
name
- Name of the component.- Returns:
- builder
-
owner
public ComponentState.Builder owner(@Nullable com.pulumi.core.Output<java.lang.String> owner)
- Parameters:
owner
- Owner of the component.- Returns:
- builder
-
owner
public ComponentState.Builder owner(java.lang.String owner)
- Parameters:
owner
- Owner of the component.- Returns:
- builder
-
platform
public ComponentState.Builder platform(@Nullable com.pulumi.core.Output<java.lang.String> platform)
- Parameters:
platform
- Platform of the component.- Returns:
- builder
-
platform
public ComponentState.Builder platform(java.lang.String platform)
- Parameters:
platform
- Platform of the component.- Returns:
- builder
-
skipDestroy
public ComponentState.Builder skipDestroy(@Nullable com.pulumi.core.Output<java.lang.Boolean> skipDestroy)
- Parameters:
skipDestroy
- Whether to retain the old version when the resource is destroyed or replacement is necessary. Defaults to `false`.- Returns:
- builder
-
skipDestroy
public ComponentState.Builder skipDestroy(java.lang.Boolean skipDestroy)
- Parameters:
skipDestroy
- Whether to retain the old version when the resource is destroyed or replacement is necessary. Defaults to `false`.- Returns:
- builder
-
supportedOsVersions
public ComponentState.Builder supportedOsVersions(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> supportedOsVersions)
- Parameters:
supportedOsVersions
- Set of Operating Systems (OS) supported by the component.- Returns:
- builder
-
supportedOsVersions
public ComponentState.Builder supportedOsVersions(java.util.List<java.lang.String> supportedOsVersions)
- Parameters:
supportedOsVersions
- Set of Operating Systems (OS) supported by the component.- Returns:
- builder
-
supportedOsVersions
public ComponentState.Builder supportedOsVersions(java.lang.String... supportedOsVersions)
- Parameters:
supportedOsVersions
- Set of Operating Systems (OS) supported by the component.- Returns:
- builder
-
tags
public ComponentState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags
- Key-value map of resource tags for the component. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public ComponentState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags
- Key-value map of resource tags for the component. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
@Deprecated public ComponentState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.- Parameters:
tagsAll
- A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.- Returns:
- builder
-
tagsAll
@Deprecated public ComponentState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.- Parameters:
tagsAll
- A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.- Returns:
- builder
-
type
public ComponentState.Builder type(@Nullable com.pulumi.core.Output<java.lang.String> type)
- Parameters:
type
- Type of the component.- Returns:
- builder
-
type
public ComponentState.Builder type(java.lang.String type)
- Parameters:
type
- Type of the component.- Returns:
- builder
-
uri
public ComponentState.Builder uri(@Nullable com.pulumi.core.Output<java.lang.String> uri)
- Parameters:
uri
- S3 URI with data of the component. Exactly one of `data` and `uri` can be specified. > **NOTE:** Updating `data` or `uri` requires specifying a new `version`. This causes replacement of the resource. The `skip_destroy` argument can be used to retain the old version.- Returns:
- builder
-
uri
public ComponentState.Builder uri(java.lang.String uri)
- Parameters:
uri
- S3 URI with data of the component. Exactly one of `data` and `uri` can be specified. > **NOTE:** Updating `data` or `uri` requires specifying a new `version`. This causes replacement of the resource. The `skip_destroy` argument can be used to retain the old version.- Returns:
- builder
-
version
public ComponentState.Builder version(@Nullable com.pulumi.core.Output<java.lang.String> version)
- Parameters:
version
- Version of the component. The following attributes are optional:- Returns:
- builder
-
version
public ComponentState.Builder version(java.lang.String version)
- Parameters:
version
- Version of the component. The following attributes are optional:- Returns:
- builder
-
build
public ComponentState build()
-
-