Class GatewayState.Builder
- java.lang.Object
-
- com.pulumi.aws.storagegateway.inputs.GatewayState.Builder
-
- Enclosing class:
- GatewayState
public static final class GatewayState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(GatewayState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GatewayState.BuilderactivationKey(com.pulumi.core.Output<java.lang.String> activationKey)GatewayState.BuilderactivationKey(java.lang.String activationKey)GatewayState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)GatewayState.Builderarn(java.lang.String arn)GatewayState.BuilderaverageDownloadRateLimitInBitsPerSec(com.pulumi.core.Output<java.lang.Integer> averageDownloadRateLimitInBitsPerSec)GatewayState.BuilderaverageDownloadRateLimitInBitsPerSec(java.lang.Integer averageDownloadRateLimitInBitsPerSec)GatewayState.BuilderaverageUploadRateLimitInBitsPerSec(com.pulumi.core.Output<java.lang.Integer> averageUploadRateLimitInBitsPerSec)GatewayState.BuilderaverageUploadRateLimitInBitsPerSec(java.lang.Integer averageUploadRateLimitInBitsPerSec)GatewayStatebuild()GatewayState.BuildercloudwatchLogGroupArn(com.pulumi.core.Output<java.lang.String> cloudwatchLogGroupArn)GatewayState.BuildercloudwatchLogGroupArn(java.lang.String cloudwatchLogGroupArn)GatewayState.Builderec2InstanceId(com.pulumi.core.Output<java.lang.String> ec2InstanceId)GatewayState.Builderec2InstanceId(java.lang.String ec2InstanceId)GatewayState.BuilderendpointType(com.pulumi.core.Output<java.lang.String> endpointType)GatewayState.BuilderendpointType(java.lang.String endpointType)GatewayState.BuildergatewayId(com.pulumi.core.Output<java.lang.String> gatewayId)GatewayState.BuildergatewayId(java.lang.String gatewayId)GatewayState.BuildergatewayIpAddress(com.pulumi.core.Output<java.lang.String> gatewayIpAddress)GatewayState.BuildergatewayIpAddress(java.lang.String gatewayIpAddress)GatewayState.BuildergatewayName(com.pulumi.core.Output<java.lang.String> gatewayName)GatewayState.BuildergatewayName(java.lang.String gatewayName)GatewayState.BuildergatewayNetworkInterfaces(GatewayGatewayNetworkInterfaceArgs... gatewayNetworkInterfaces)GatewayState.BuildergatewayNetworkInterfaces(com.pulumi.core.Output<java.util.List<GatewayGatewayNetworkInterfaceArgs>> gatewayNetworkInterfaces)GatewayState.BuildergatewayNetworkInterfaces(java.util.List<GatewayGatewayNetworkInterfaceArgs> gatewayNetworkInterfaces)GatewayState.BuildergatewayTimezone(com.pulumi.core.Output<java.lang.String> gatewayTimezone)GatewayState.BuildergatewayTimezone(java.lang.String gatewayTimezone)GatewayState.BuildergatewayType(com.pulumi.core.Output<java.lang.String> gatewayType)GatewayState.BuildergatewayType(java.lang.String gatewayType)GatewayState.BuildergatewayVpcEndpoint(com.pulumi.core.Output<java.lang.String> gatewayVpcEndpoint)GatewayState.BuildergatewayVpcEndpoint(java.lang.String gatewayVpcEndpoint)GatewayState.BuilderhostEnvironment(com.pulumi.core.Output<java.lang.String> hostEnvironment)GatewayState.BuilderhostEnvironment(java.lang.String hostEnvironment)GatewayState.BuildermaintenanceStartTime(GatewayMaintenanceStartTimeArgs maintenanceStartTime)GatewayState.BuildermaintenanceStartTime(com.pulumi.core.Output<GatewayMaintenanceStartTimeArgs> maintenanceStartTime)GatewayState.BuildermediumChangerType(com.pulumi.core.Output<java.lang.String> mediumChangerType)GatewayState.BuildermediumChangerType(java.lang.String mediumChangerType)GatewayState.Builderregion(com.pulumi.core.Output<java.lang.String> region)GatewayState.Builderregion(java.lang.String region)GatewayState.BuildersmbActiveDirectorySettings(GatewaySmbActiveDirectorySettingsArgs smbActiveDirectorySettings)GatewayState.BuildersmbActiveDirectorySettings(com.pulumi.core.Output<GatewaySmbActiveDirectorySettingsArgs> smbActiveDirectorySettings)GatewayState.BuildersmbFileShareVisibility(com.pulumi.core.Output<java.lang.Boolean> smbFileShareVisibility)GatewayState.BuildersmbFileShareVisibility(java.lang.Boolean smbFileShareVisibility)GatewayState.BuildersmbGuestPassword(com.pulumi.core.Output<java.lang.String> smbGuestPassword)GatewayState.BuildersmbGuestPassword(java.lang.String smbGuestPassword)GatewayState.BuildersmbSecurityStrategy(com.pulumi.core.Output<java.lang.String> smbSecurityStrategy)GatewayState.BuildersmbSecurityStrategy(java.lang.String smbSecurityStrategy)GatewayState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)GatewayState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)GatewayState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)GatewayState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)GatewayState.BuildertapeDriveType(com.pulumi.core.Output<java.lang.String> tapeDriveType)GatewayState.BuildertapeDriveType(java.lang.String tapeDriveType)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GatewayState defaults)
-
-
Method Detail
-
activationKey
public GatewayState.Builder activationKey(@Nullable com.pulumi.core.Output<java.lang.String> activationKey)
- Parameters:
activationKey- Gateway activation key during resource creation. Conflicts with `gatewayIpAddress`. Additional information is available in the [Storage Gateway User Guide](https://docs.aws.amazon.com/storagegateway/latest/userguide/get-activation-key.html).- Returns:
- builder
-
activationKey
public GatewayState.Builder activationKey(java.lang.String activationKey)
- Parameters:
activationKey- Gateway activation key during resource creation. Conflicts with `gatewayIpAddress`. Additional information is available in the [Storage Gateway User Guide](https://docs.aws.amazon.com/storagegateway/latest/userguide/get-activation-key.html).- Returns:
- builder
-
arn
public GatewayState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN of the gateway.- Returns:
- builder
-
arn
public GatewayState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN of the gateway.- Returns:
- builder
-
averageDownloadRateLimitInBitsPerSec
public GatewayState.Builder averageDownloadRateLimitInBitsPerSec(@Nullable com.pulumi.core.Output<java.lang.Integer> averageDownloadRateLimitInBitsPerSec)
- Parameters:
averageDownloadRateLimitInBitsPerSec- The average download bandwidth rate limit in bits per second. This is supported for the `CACHED`, `STORED`, and `VTL` gateway types.- Returns:
- builder
-
averageDownloadRateLimitInBitsPerSec
public GatewayState.Builder averageDownloadRateLimitInBitsPerSec(java.lang.Integer averageDownloadRateLimitInBitsPerSec)
- Parameters:
averageDownloadRateLimitInBitsPerSec- The average download bandwidth rate limit in bits per second. This is supported for the `CACHED`, `STORED`, and `VTL` gateway types.- Returns:
- builder
-
averageUploadRateLimitInBitsPerSec
public GatewayState.Builder averageUploadRateLimitInBitsPerSec(@Nullable com.pulumi.core.Output<java.lang.Integer> averageUploadRateLimitInBitsPerSec)
- Parameters:
averageUploadRateLimitInBitsPerSec- The average upload bandwidth rate limit in bits per second. This is supported for the `CACHED`, `STORED`, and `VTL` gateway types.- Returns:
- builder
-
averageUploadRateLimitInBitsPerSec
public GatewayState.Builder averageUploadRateLimitInBitsPerSec(java.lang.Integer averageUploadRateLimitInBitsPerSec)
- Parameters:
averageUploadRateLimitInBitsPerSec- The average upload bandwidth rate limit in bits per second. This is supported for the `CACHED`, `STORED`, and `VTL` gateway types.- Returns:
- builder
-
cloudwatchLogGroupArn
public GatewayState.Builder cloudwatchLogGroupArn(@Nullable com.pulumi.core.Output<java.lang.String> cloudwatchLogGroupArn)
- Parameters:
cloudwatchLogGroupArn- ARN of the Amazon CloudWatch log group to use to monitor and log events in the gateway.- Returns:
- builder
-
cloudwatchLogGroupArn
public GatewayState.Builder cloudwatchLogGroupArn(java.lang.String cloudwatchLogGroupArn)
- Parameters:
cloudwatchLogGroupArn- ARN of the Amazon CloudWatch log group to use to monitor and log events in the gateway.- Returns:
- builder
-
ec2InstanceId
public GatewayState.Builder ec2InstanceId(@Nullable com.pulumi.core.Output<java.lang.String> ec2InstanceId)
- Parameters:
ec2InstanceId- The ID of the Amazon EC2 instance that was used to launch the gateway.- Returns:
- builder
-
ec2InstanceId
public GatewayState.Builder ec2InstanceId(java.lang.String ec2InstanceId)
- Parameters:
ec2InstanceId- The ID of the Amazon EC2 instance that was used to launch the gateway.- Returns:
- builder
-
endpointType
public GatewayState.Builder endpointType(@Nullable com.pulumi.core.Output<java.lang.String> endpointType)
- Parameters:
endpointType- The type of endpoint for your gateway.- Returns:
- builder
-
endpointType
public GatewayState.Builder endpointType(java.lang.String endpointType)
- Parameters:
endpointType- The type of endpoint for your gateway.- Returns:
- builder
-
gatewayId
public GatewayState.Builder gatewayId(@Nullable com.pulumi.core.Output<java.lang.String> gatewayId)
- Parameters:
gatewayId- Identifier of the gateway.- Returns:
- builder
-
gatewayId
public GatewayState.Builder gatewayId(java.lang.String gatewayId)
- Parameters:
gatewayId- Identifier of the gateway.- Returns:
- builder
-
gatewayIpAddress
public GatewayState.Builder gatewayIpAddress(@Nullable com.pulumi.core.Output<java.lang.String> gatewayIpAddress)
- Parameters:
gatewayIpAddress- Gateway IP address to retrieve activation key during resource creation. Conflicts with `activationKey`. Gateway must be accessible on port 80 from where this provider is running. Additional information is available in the [Storage Gateway User Guide](https://docs.aws.amazon.com/storagegateway/latest/userguide/get-activation-key.html).- Returns:
- builder
-
gatewayIpAddress
public GatewayState.Builder gatewayIpAddress(java.lang.String gatewayIpAddress)
- Parameters:
gatewayIpAddress- Gateway IP address to retrieve activation key during resource creation. Conflicts with `activationKey`. Gateway must be accessible on port 80 from where this provider is running. Additional information is available in the [Storage Gateway User Guide](https://docs.aws.amazon.com/storagegateway/latest/userguide/get-activation-key.html).- Returns:
- builder
-
gatewayName
public GatewayState.Builder gatewayName(@Nullable com.pulumi.core.Output<java.lang.String> gatewayName)
- Parameters:
gatewayName- Name of the gateway.- Returns:
- builder
-
gatewayName
public GatewayState.Builder gatewayName(java.lang.String gatewayName)
- Parameters:
gatewayName- Name of the gateway.- Returns:
- builder
-
gatewayNetworkInterfaces
public GatewayState.Builder gatewayNetworkInterfaces(@Nullable com.pulumi.core.Output<java.util.List<GatewayGatewayNetworkInterfaceArgs>> gatewayNetworkInterfaces)
- Parameters:
gatewayNetworkInterfaces- An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface.- Returns:
- builder
-
gatewayNetworkInterfaces
public GatewayState.Builder gatewayNetworkInterfaces(java.util.List<GatewayGatewayNetworkInterfaceArgs> gatewayNetworkInterfaces)
- Parameters:
gatewayNetworkInterfaces- An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface.- Returns:
- builder
-
gatewayNetworkInterfaces
public GatewayState.Builder gatewayNetworkInterfaces(GatewayGatewayNetworkInterfaceArgs... gatewayNetworkInterfaces)
- Parameters:
gatewayNetworkInterfaces- An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface.- Returns:
- builder
-
gatewayTimezone
public GatewayState.Builder gatewayTimezone(@Nullable com.pulumi.core.Output<java.lang.String> gatewayTimezone)
- Parameters:
gatewayTimezone- Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, `GMT-4:00` indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule.- Returns:
- builder
-
gatewayTimezone
public GatewayState.Builder gatewayTimezone(java.lang.String gatewayTimezone)
- Parameters:
gatewayTimezone- Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, `GMT-4:00` indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule.- Returns:
- builder
-
gatewayType
public GatewayState.Builder gatewayType(@Nullable com.pulumi.core.Output<java.lang.String> gatewayType)
- Parameters:
gatewayType- Type of the gateway. The default value is `STORED`. Valid values: `CACHED`, `FILE_FSX_SMB`, `FILE_S3`, `STORED`, `VTL`.- Returns:
- builder
-
gatewayType
public GatewayState.Builder gatewayType(java.lang.String gatewayType)
- Parameters:
gatewayType- Type of the gateway. The default value is `STORED`. Valid values: `CACHED`, `FILE_FSX_SMB`, `FILE_S3`, `STORED`, `VTL`.- Returns:
- builder
-
gatewayVpcEndpoint
public GatewayState.Builder gatewayVpcEndpoint(@Nullable com.pulumi.core.Output<java.lang.String> gatewayVpcEndpoint)
- Parameters:
gatewayVpcEndpoint- VPC endpoint address to be used when activating your gateway. This should be used when your instance is in a private subnet. Requires HTTP access from client computer running Pulumi. More info on what ports are required by your VPC Endpoint Security group in [Activating a Gateway in a VPC](https://docs.aws.amazon.com/storagegateway/latest/userguide/gateway-private-link.html).- Returns:
- builder
-
gatewayVpcEndpoint
public GatewayState.Builder gatewayVpcEndpoint(java.lang.String gatewayVpcEndpoint)
- Parameters:
gatewayVpcEndpoint- VPC endpoint address to be used when activating your gateway. This should be used when your instance is in a private subnet. Requires HTTP access from client computer running Pulumi. More info on what ports are required by your VPC Endpoint Security group in [Activating a Gateway in a VPC](https://docs.aws.amazon.com/storagegateway/latest/userguide/gateway-private-link.html).- Returns:
- builder
-
hostEnvironment
public GatewayState.Builder hostEnvironment(@Nullable com.pulumi.core.Output<java.lang.String> hostEnvironment)
- Parameters:
hostEnvironment- The type of hypervisor environment used by the host.- Returns:
- builder
-
hostEnvironment
public GatewayState.Builder hostEnvironment(java.lang.String hostEnvironment)
- Parameters:
hostEnvironment- The type of hypervisor environment used by the host.- Returns:
- builder
-
maintenanceStartTime
public GatewayState.Builder maintenanceStartTime(@Nullable com.pulumi.core.Output<GatewayMaintenanceStartTimeArgs> maintenanceStartTime)
- Parameters:
maintenanceStartTime- The gateway's weekly maintenance start time information, including day and time of the week. The maintenance time is the time in your gateway's time zone. More details below.- Returns:
- builder
-
maintenanceStartTime
public GatewayState.Builder maintenanceStartTime(GatewayMaintenanceStartTimeArgs maintenanceStartTime)
- Parameters:
maintenanceStartTime- The gateway's weekly maintenance start time information, including day and time of the week. The maintenance time is the time in your gateway's time zone. More details below.- Returns:
- builder
-
mediumChangerType
public GatewayState.Builder mediumChangerType(@Nullable com.pulumi.core.Output<java.lang.String> mediumChangerType)
- Parameters:
mediumChangerType- Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`, `IBM-03584L32-0402`.- Returns:
- builder
-
mediumChangerType
public GatewayState.Builder mediumChangerType(java.lang.String mediumChangerType)
- Parameters:
mediumChangerType- Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`, `IBM-03584L32-0402`.- Returns:
- builder
-
region
public GatewayState.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 GatewayState.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
-
smbActiveDirectorySettings
public GatewayState.Builder smbActiveDirectorySettings(@Nullable com.pulumi.core.Output<GatewaySmbActiveDirectorySettingsArgs> smbActiveDirectorySettings)
- Parameters:
smbActiveDirectorySettings- Nested argument with Active Directory domain join information for Server Message Block (SMB) file shares. Only valid for `FILE_S3` and `FILE_FSX_SMB` gateway types. Must be set before creating `ActiveDirectory` authentication SMB file shares. More details below.- Returns:
- builder
-
smbActiveDirectorySettings
public GatewayState.Builder smbActiveDirectorySettings(GatewaySmbActiveDirectorySettingsArgs smbActiveDirectorySettings)
- Parameters:
smbActiveDirectorySettings- Nested argument with Active Directory domain join information for Server Message Block (SMB) file shares. Only valid for `FILE_S3` and `FILE_FSX_SMB` gateway types. Must be set before creating `ActiveDirectory` authentication SMB file shares. More details below.- Returns:
- builder
-
smbFileShareVisibility
public GatewayState.Builder smbFileShareVisibility(@Nullable com.pulumi.core.Output<java.lang.Boolean> smbFileShareVisibility)
- Parameters:
smbFileShareVisibility- Specifies whether the shares on this gateway appear when listing shares.- Returns:
- builder
-
smbFileShareVisibility
public GatewayState.Builder smbFileShareVisibility(java.lang.Boolean smbFileShareVisibility)
- Parameters:
smbFileShareVisibility- Specifies whether the shares on this gateway appear when listing shares.- Returns:
- builder
-
smbGuestPassword
public GatewayState.Builder smbGuestPassword(@Nullable com.pulumi.core.Output<java.lang.String> smbGuestPassword)
- Parameters:
smbGuestPassword- Guest password for Server Message Block (SMB) file shares. Only valid for `FILE_S3` and `FILE_FSX_SMB` gateway types. Must be set before creating `GuestAccess` authentication SMB file shares. This provider can only detect drift of the existence of a guest password, not its actual value from the gateway. This provider can however update the password with changing the argument.- Returns:
- builder
-
smbGuestPassword
public GatewayState.Builder smbGuestPassword(java.lang.String smbGuestPassword)
- Parameters:
smbGuestPassword- Guest password for Server Message Block (SMB) file shares. Only valid for `FILE_S3` and `FILE_FSX_SMB` gateway types. Must be set before creating `GuestAccess` authentication SMB file shares. This provider can only detect drift of the existence of a guest password, not its actual value from the gateway. This provider can however update the password with changing the argument.- Returns:
- builder
-
smbSecurityStrategy
public GatewayState.Builder smbSecurityStrategy(@Nullable com.pulumi.core.Output<java.lang.String> smbSecurityStrategy)
- Parameters:
smbSecurityStrategy- Specifies the type of security strategy. Valid values are: `ClientSpecified`, `MandatorySigning`, and `MandatoryEncryption`. See [Setting a Security Level for Your Gateway](https://docs.aws.amazon.com/storagegateway/latest/userguide/managing-gateway-file.html#security-strategy) for more information.- Returns:
- builder
-
smbSecurityStrategy
public GatewayState.Builder smbSecurityStrategy(java.lang.String smbSecurityStrategy)
- Parameters:
smbSecurityStrategy- Specifies the type of security strategy. Valid values are: `ClientSpecified`, `MandatorySigning`, and `MandatoryEncryption`. See [Setting a Security Level for Your Gateway](https://docs.aws.amazon.com/storagegateway/latest/userguide/managing-gateway-file.html#security-strategy) for more information.- Returns:
- builder
-
tags
public GatewayState.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. > **NOTE:** One of `activationKey` or `gatewayIpAddress` must be provided for resource creation (gateway activation). Neither is required for resource import. If using `gatewayIpAddress`, this provider must be able to make an HTTP (port 80) GET request to the specified IP address from where it is running.- Returns:
- builder
-
tags
public GatewayState.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. > **NOTE:** One of `activationKey` or `gatewayIpAddress` must be provided for resource creation (gateway activation). Neither is required for resource import. If using `gatewayIpAddress`, this provider must be able to make an HTTP (port 80) GET request to the specified IP address from where it is running.- Returns:
- builder
-
tagsAll
public GatewayState.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 GatewayState.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
-
tapeDriveType
public GatewayState.Builder tapeDriveType(@Nullable com.pulumi.core.Output<java.lang.String> tapeDriveType)
- Parameters:
tapeDriveType- Type of tape drive to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `IBM-ULT3580-TD5`.- Returns:
- builder
-
tapeDriveType
public GatewayState.Builder tapeDriveType(java.lang.String tapeDriveType)
- Parameters:
tapeDriveType- Type of tape drive to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `IBM-ULT3580-TD5`.- Returns:
- builder
-
build
public GatewayState build()
-
-