Class DomainState.Builder
- java.lang.Object
-
- com.pulumi.aws.codeartifact.inputs.DomainState.Builder
-
- Enclosing class:
- DomainState
public static final class DomainState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(DomainState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DomainState.Builder
arn(com.pulumi.core.Output<java.lang.String> arn)
DomainState.Builder
arn(java.lang.String arn)
DomainState.Builder
assetSizeBytes(com.pulumi.core.Output<java.lang.String> assetSizeBytes)
DomainState.Builder
assetSizeBytes(java.lang.String assetSizeBytes)
DomainState
build()
DomainState.Builder
createdTime(com.pulumi.core.Output<java.lang.String> createdTime)
DomainState.Builder
createdTime(java.lang.String createdTime)
DomainState.Builder
domain(com.pulumi.core.Output<java.lang.String> domain)
DomainState.Builder
domain(java.lang.String domain)
DomainState.Builder
encryptionKey(com.pulumi.core.Output<java.lang.String> encryptionKey)
DomainState.Builder
encryptionKey(java.lang.String encryptionKey)
DomainState.Builder
owner(com.pulumi.core.Output<java.lang.String> owner)
DomainState.Builder
owner(java.lang.String owner)
DomainState.Builder
repositoryCount(com.pulumi.core.Output<java.lang.Integer> repositoryCount)
DomainState.Builder
repositoryCount(java.lang.Integer repositoryCount)
DomainState.Builder
s3BucketArn(com.pulumi.core.Output<java.lang.String> s3BucketArn)
DomainState.Builder
s3BucketArn(java.lang.String s3BucketArn)
DomainState.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
DomainState.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
DomainState.Builder
tagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.DomainState.Builder
tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DomainState defaults)
-
-
Method Detail
-
arn
public DomainState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn
- The ARN of the Domain.- Returns:
- builder
-
arn
public DomainState.Builder arn(java.lang.String arn)
- Parameters:
arn
- The ARN of the Domain.- Returns:
- builder
-
assetSizeBytes
public DomainState.Builder assetSizeBytes(@Nullable com.pulumi.core.Output<java.lang.String> assetSizeBytes)
- Parameters:
assetSizeBytes
- The total size of all assets in the domain.- Returns:
- builder
-
assetSizeBytes
public DomainState.Builder assetSizeBytes(java.lang.String assetSizeBytes)
- Parameters:
assetSizeBytes
- The total size of all assets in the domain.- Returns:
- builder
-
createdTime
public DomainState.Builder createdTime(@Nullable com.pulumi.core.Output<java.lang.String> createdTime)
- Parameters:
createdTime
- A timestamp that represents the date and time the domain was created in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).- Returns:
- builder
-
createdTime
public DomainState.Builder createdTime(java.lang.String createdTime)
- Parameters:
createdTime
- A timestamp that represents the date and time the domain was created in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).- Returns:
- builder
-
domain
public DomainState.Builder domain(@Nullable com.pulumi.core.Output<java.lang.String> domain)
- Parameters:
domain
- The name of the domain to create. All domain names in an AWS Region that are in the same AWS account must be unique. The domain name is used as the prefix in DNS hostnames. Do not use sensitive information in a domain name because it is publicly discoverable.- Returns:
- builder
-
domain
public DomainState.Builder domain(java.lang.String domain)
- Parameters:
domain
- The name of the domain to create. All domain names in an AWS Region that are in the same AWS account must be unique. The domain name is used as the prefix in DNS hostnames. Do not use sensitive information in a domain name because it is publicly discoverable.- Returns:
- builder
-
encryptionKey
public DomainState.Builder encryptionKey(@Nullable com.pulumi.core.Output<java.lang.String> encryptionKey)
- Parameters:
encryptionKey
- The encryption key for the domain. This is used to encrypt content stored in a domain. The KMS Key Amazon Resource Name (ARN). The default aws/codeartifact AWS KMS master key is used if this element is absent.- Returns:
- builder
-
encryptionKey
public DomainState.Builder encryptionKey(java.lang.String encryptionKey)
- Parameters:
encryptionKey
- The encryption key for the domain. This is used to encrypt content stored in a domain. The KMS Key Amazon Resource Name (ARN). The default aws/codeartifact AWS KMS master key is used if this element is absent.- Returns:
- builder
-
owner
public DomainState.Builder owner(@Nullable com.pulumi.core.Output<java.lang.String> owner)
- Parameters:
owner
- The AWS account ID that owns the domain.- Returns:
- builder
-
owner
public DomainState.Builder owner(java.lang.String owner)
- Parameters:
owner
- The AWS account ID that owns the domain.- Returns:
- builder
-
repositoryCount
public DomainState.Builder repositoryCount(@Nullable com.pulumi.core.Output<java.lang.Integer> repositoryCount)
- Parameters:
repositoryCount
- The number of repositories in the domain.- Returns:
- builder
-
repositoryCount
public DomainState.Builder repositoryCount(java.lang.Integer repositoryCount)
- Parameters:
repositoryCount
- The number of repositories in the domain.- Returns:
- builder
-
s3BucketArn
public DomainState.Builder s3BucketArn(@Nullable com.pulumi.core.Output<java.lang.String> s3BucketArn)
- Parameters:
s3BucketArn
- The ARN of the Amazon S3 bucket that is used to store package assets in the domain.- Returns:
- builder
-
s3BucketArn
public DomainState.Builder s3BucketArn(java.lang.String s3BucketArn)
- Parameters:
s3BucketArn
- The ARN of the Amazon S3 bucket that is used to store package assets in the domain.- Returns:
- builder
-
tags
public DomainState.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. .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 DomainState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags
- Key-value map of resource tags. .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 DomainState.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 DomainState.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
-
build
public DomainState build()
-
-