Class CachesIscsiVolumeState.Builder

  • Enclosing class:
    CachesIscsiVolumeState

    public static final class CachesIscsiVolumeState.Builder
    extends java.lang.Object
    • Method Detail

      • arn

        public CachesIscsiVolumeState.Builder arn​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - Volume ARN, e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678/volume/vol-12345678`.
        Returns:
        builder
      • arn

        public CachesIscsiVolumeState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - Volume ARN, e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678/volume/vol-12345678`.
        Returns:
        builder
      • chapEnabled

        public CachesIscsiVolumeState.Builder chapEnabled​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Boolean> chapEnabled)
        Parameters:
        chapEnabled - Whether mutual CHAP is enabled for the iSCSI target.
        Returns:
        builder
      • chapEnabled

        public CachesIscsiVolumeState.Builder chapEnabled​(java.lang.Boolean chapEnabled)
        Parameters:
        chapEnabled - Whether mutual CHAP is enabled for the iSCSI target.
        Returns:
        builder
      • gatewayArn

        public CachesIscsiVolumeState.Builder gatewayArn​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> gatewayArn)
        Parameters:
        gatewayArn - ARN of the gateway.
        Returns:
        builder
      • gatewayArn

        public CachesIscsiVolumeState.Builder gatewayArn​(java.lang.String gatewayArn)
        Parameters:
        gatewayArn - ARN of the gateway.
        Returns:
        builder
      • kmsEncrypted

        public CachesIscsiVolumeState.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 CachesIscsiVolumeState.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 CachesIscsiVolumeState.Builder kmsKey​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> kmsKey)
        Parameters:
        kmsKey - ARN of the AWS KMS key used for Amazon S3 server side encryption. Is required when `kmsEncrypted` is set.
        Returns:
        builder
      • kmsKey

        public CachesIscsiVolumeState.Builder kmsKey​(java.lang.String kmsKey)
        Parameters:
        kmsKey - ARN of the AWS KMS key used for Amazon S3 server side encryption. Is required when `kmsEncrypted` is set.
        Returns:
        builder
      • lunNumber

        public CachesIscsiVolumeState.Builder lunNumber​(@Nullable
                                                        com.pulumi.core.Output<java.lang.Integer> lunNumber)
        Parameters:
        lunNumber - Logical disk number.
        Returns:
        builder
      • lunNumber

        public CachesIscsiVolumeState.Builder lunNumber​(java.lang.Integer lunNumber)
        Parameters:
        lunNumber - Logical disk number.
        Returns:
        builder
      • networkInterfaceId

        public CachesIscsiVolumeState.Builder networkInterfaceId​(@Nullable
                                                                 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 CachesIscsiVolumeState.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
      • networkInterfacePort

        public CachesIscsiVolumeState.Builder networkInterfacePort​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.Integer> networkInterfacePort)
        Parameters:
        networkInterfacePort - The port used to communicate with iSCSI targets.
        Returns:
        builder
      • networkInterfacePort

        public CachesIscsiVolumeState.Builder networkInterfacePort​(java.lang.Integer networkInterfacePort)
        Parameters:
        networkInterfacePort - The port used to communicate with iSCSI targets.
        Returns:
        builder
      • region

        public CachesIscsiVolumeState.Builder region​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public CachesIscsiVolumeState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • snapshotId

        public CachesIscsiVolumeState.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 CachesIscsiVolumeState.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 CachesIscsiVolumeState.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 `volumeSizeInBytes` value for this new volume must be equal to or larger than the size of the existing volume, in bytes.
        Returns:
        builder
      • sourceVolumeArn

        public CachesIscsiVolumeState.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 `volumeSizeInBytes` value for this new volume must be equal to or larger than the size of the existing volume, in bytes.
        Returns:
        builder
      • tags

        public CachesIscsiVolumeState.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 `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public CachesIscsiVolumeState.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 `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public CachesIscsiVolumeState.Builder tagsAll​(@Nullable
                                                      com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public CachesIscsiVolumeState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • targetArn

        public CachesIscsiVolumeState.Builder targetArn​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> targetArn)
        Parameters:
        targetArn - Target ARN, e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678/target/iqn.1997-05.com.amazon:TargetName`.
        Returns:
        builder
      • targetArn

        public CachesIscsiVolumeState.Builder targetArn​(java.lang.String targetArn)
        Parameters:
        targetArn - Target ARN, e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678/target/iqn.1997-05.com.amazon:TargetName`.
        Returns:
        builder
      • targetName

        public CachesIscsiVolumeState.Builder targetName​(@Nullable
                                                         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 CachesIscsiVolumeState.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
      • volumeArn

        public CachesIscsiVolumeState.Builder volumeArn​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> volumeArn)
        Parameters:
        volumeArn - Volume ARN, e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678/volume/vol-12345678`.
        Returns:
        builder
      • volumeArn

        public CachesIscsiVolumeState.Builder volumeArn​(java.lang.String volumeArn)
        Parameters:
        volumeArn - Volume ARN, e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678/volume/vol-12345678`.
        Returns:
        builder
      • volumeId

        public CachesIscsiVolumeState.Builder volumeId​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> volumeId)
        Parameters:
        volumeId - Volume ID, e.g., `vol-12345678`.
        Returns:
        builder
      • volumeId

        public CachesIscsiVolumeState.Builder volumeId​(java.lang.String volumeId)
        Parameters:
        volumeId - Volume ID, e.g., `vol-12345678`.
        Returns:
        builder
      • volumeSizeInBytes

        public CachesIscsiVolumeState.Builder volumeSizeInBytes​(@Nullable
                                                                com.pulumi.core.Output<java.lang.Integer> volumeSizeInBytes)
        Parameters:
        volumeSizeInBytes - The size of the volume in bytes.
        Returns:
        builder
      • volumeSizeInBytes

        public CachesIscsiVolumeState.Builder volumeSizeInBytes​(java.lang.Integer volumeSizeInBytes)
        Parameters:
        volumeSizeInBytes - The size of the volume in bytes.
        Returns:
        builder