Package com.pulumi.aws.storagegateway
Class CachesIscsiVolumeArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.storagegateway.CachesIscsiVolumeArgs.Builder
-
- Enclosing class:
- CachesIscsiVolumeArgs
public static final class CachesIscsiVolumeArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(CachesIscsiVolumeArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CachesIscsiVolumeArgs
build()
CachesIscsiVolumeArgs.Builder
gatewayArn(com.pulumi.core.Output<java.lang.String> gatewayArn)
CachesIscsiVolumeArgs.Builder
gatewayArn(java.lang.String gatewayArn)
CachesIscsiVolumeArgs.Builder
kmsEncrypted(com.pulumi.core.Output<java.lang.Boolean> kmsEncrypted)
CachesIscsiVolumeArgs.Builder
kmsEncrypted(java.lang.Boolean kmsEncrypted)
CachesIscsiVolumeArgs.Builder
kmsKey(com.pulumi.core.Output<java.lang.String> kmsKey)
CachesIscsiVolumeArgs.Builder
kmsKey(java.lang.String kmsKey)
CachesIscsiVolumeArgs.Builder
networkInterfaceId(com.pulumi.core.Output<java.lang.String> networkInterfaceId)
CachesIscsiVolumeArgs.Builder
networkInterfaceId(java.lang.String networkInterfaceId)
CachesIscsiVolumeArgs.Builder
snapshotId(com.pulumi.core.Output<java.lang.String> snapshotId)
CachesIscsiVolumeArgs.Builder
snapshotId(java.lang.String snapshotId)
CachesIscsiVolumeArgs.Builder
sourceVolumeArn(com.pulumi.core.Output<java.lang.String> sourceVolumeArn)
CachesIscsiVolumeArgs.Builder
sourceVolumeArn(java.lang.String sourceVolumeArn)
CachesIscsiVolumeArgs.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
CachesIscsiVolumeArgs.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
CachesIscsiVolumeArgs.Builder
targetName(com.pulumi.core.Output<java.lang.String> targetName)
CachesIscsiVolumeArgs.Builder
targetName(java.lang.String targetName)
CachesIscsiVolumeArgs.Builder
volumeSizeInBytes(com.pulumi.core.Output<java.lang.Integer> volumeSizeInBytes)
CachesIscsiVolumeArgs.Builder
volumeSizeInBytes(java.lang.Integer volumeSizeInBytes)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(CachesIscsiVolumeArgs defaults)
-
-
Method Detail
-
gatewayArn
public CachesIscsiVolumeArgs.Builder gatewayArn(com.pulumi.core.Output<java.lang.String> gatewayArn)
- Parameters:
gatewayArn
- The Amazon Resource Name (ARN) of the gateway.- Returns:
- builder
-
gatewayArn
public CachesIscsiVolumeArgs.Builder gatewayArn(java.lang.String gatewayArn)
- Parameters:
gatewayArn
- The Amazon Resource Name (ARN) of the gateway.- Returns:
- builder
-
kmsEncrypted
public CachesIscsiVolumeArgs.Builder kmsEncrypted(@Nullable com.pulumi.core.Output<java.lang.Boolean> kmsEncrypted)
- Parameters:
kmsEncrypted
- Set to `true` to use Amazon S3 server side encryption with your own AWS KMS key, or `false` to use a key managed by Amazon S3.- Returns:
- builder
-
kmsEncrypted
public CachesIscsiVolumeArgs.Builder kmsEncrypted(java.lang.Boolean kmsEncrypted)
- Parameters:
kmsEncrypted
- Set to `true` to use Amazon S3 server side encryption with your own AWS KMS key, or `false` to use a key managed by Amazon S3.- Returns:
- builder
-
kmsKey
public CachesIscsiVolumeArgs.Builder kmsKey(@Nullable com.pulumi.core.Output<java.lang.String> kmsKey)
- Parameters:
kmsKey
- The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. Is required when `kms_encrypted` is set.- Returns:
- builder
-
kmsKey
public CachesIscsiVolumeArgs.Builder kmsKey(java.lang.String kmsKey)
- Parameters:
kmsKey
- The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. Is required when `kms_encrypted` is set.- Returns:
- builder
-
networkInterfaceId
public CachesIscsiVolumeArgs.Builder networkInterfaceId(com.pulumi.core.Output<java.lang.String> networkInterfaceId)
- Parameters:
networkInterfaceId
- The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addresses are accepted.- Returns:
- builder
-
networkInterfaceId
public CachesIscsiVolumeArgs.Builder networkInterfaceId(java.lang.String networkInterfaceId)
- Parameters:
networkInterfaceId
- The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addresses are accepted.- Returns:
- builder
-
snapshotId
public CachesIscsiVolumeArgs.Builder snapshotId(@Nullable com.pulumi.core.Output<java.lang.String> snapshotId)
- Parameters:
snapshotId
- The snapshot ID of the snapshot to restore as the new cached volumeE.g., `snap-1122aabb`.- Returns:
- builder
-
snapshotId
public CachesIscsiVolumeArgs.Builder snapshotId(java.lang.String snapshotId)
- Parameters:
snapshotId
- The snapshot ID of the snapshot to restore as the new cached volumeE.g., `snap-1122aabb`.- Returns:
- builder
-
sourceVolumeArn
public CachesIscsiVolumeArgs.Builder sourceVolumeArn(@Nullable com.pulumi.core.Output<java.lang.String> sourceVolumeArn)
- Parameters:
sourceVolumeArn
- The ARN for an existing volume. Specifying this ARN makes the new volume into an exact copy of the specified existing volume's latest recovery point. The `volume_size_in_bytes` value for this new volume must be equal to or larger than the size of the existing volume, in bytes.- Returns:
- builder
-
sourceVolumeArn
public CachesIscsiVolumeArgs.Builder sourceVolumeArn(java.lang.String sourceVolumeArn)
- Parameters:
sourceVolumeArn
- The ARN for an existing volume. Specifying this ARN makes the new volume into an exact copy of the specified existing volume's latest recovery point. The `volume_size_in_bytes` value for this new volume must be equal to or larger than the size of the existing volume, in bytes.- Returns:
- builder
-
tags
public CachesIscsiVolumeArgs.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 CachesIscsiVolumeArgs.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
-
targetName
public CachesIscsiVolumeArgs.Builder targetName(com.pulumi.core.Output<java.lang.String> targetName)
- Parameters:
targetName
- The name of the iSCSI target used by initiators to connect to the target and as a suffix for the target ARN. The target name must be unique across all volumes of a gateway.- Returns:
- builder
-
targetName
public CachesIscsiVolumeArgs.Builder targetName(java.lang.String targetName)
- Parameters:
targetName
- The name of the iSCSI target used by initiators to connect to the target and as a suffix for the target ARN. The target name must be unique across all volumes of a gateway.- Returns:
- builder
-
volumeSizeInBytes
public CachesIscsiVolumeArgs.Builder volumeSizeInBytes(com.pulumi.core.Output<java.lang.Integer> volumeSizeInBytes)
- Parameters:
volumeSizeInBytes
- The size of the volume in bytes.- Returns:
- builder
-
volumeSizeInBytes
public CachesIscsiVolumeArgs.Builder volumeSizeInBytes(java.lang.Integer volumeSizeInBytes)
- Parameters:
volumeSizeInBytes
- The size of the volume in bytes.- Returns:
- builder
-
build
public CachesIscsiVolumeArgs build()
-
-