Package com.pulumi.aws.storagegateway
Class GatewayArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.storagegateway.GatewayArgs.Builder
-
- Enclosing class:
- GatewayArgs
public static final class GatewayArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(GatewayArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GatewayArgs.Builder
activationKey(com.pulumi.core.Output<java.lang.String> activationKey)
GatewayArgs.Builder
activationKey(java.lang.String activationKey)
GatewayArgs.Builder
averageDownloadRateLimitInBitsPerSec(com.pulumi.core.Output<java.lang.Integer> averageDownloadRateLimitInBitsPerSec)
GatewayArgs.Builder
averageDownloadRateLimitInBitsPerSec(java.lang.Integer averageDownloadRateLimitInBitsPerSec)
GatewayArgs.Builder
averageUploadRateLimitInBitsPerSec(com.pulumi.core.Output<java.lang.Integer> averageUploadRateLimitInBitsPerSec)
GatewayArgs.Builder
averageUploadRateLimitInBitsPerSec(java.lang.Integer averageUploadRateLimitInBitsPerSec)
GatewayArgs
build()
GatewayArgs.Builder
cloudwatchLogGroupArn(com.pulumi.core.Output<java.lang.String> cloudwatchLogGroupArn)
GatewayArgs.Builder
cloudwatchLogGroupArn(java.lang.String cloudwatchLogGroupArn)
GatewayArgs.Builder
gatewayIpAddress(com.pulumi.core.Output<java.lang.String> gatewayIpAddress)
GatewayArgs.Builder
gatewayIpAddress(java.lang.String gatewayIpAddress)
GatewayArgs.Builder
gatewayName(com.pulumi.core.Output<java.lang.String> gatewayName)
GatewayArgs.Builder
gatewayName(java.lang.String gatewayName)
GatewayArgs.Builder
gatewayTimezone(com.pulumi.core.Output<java.lang.String> gatewayTimezone)
GatewayArgs.Builder
gatewayTimezone(java.lang.String gatewayTimezone)
GatewayArgs.Builder
gatewayType(com.pulumi.core.Output<java.lang.String> gatewayType)
GatewayArgs.Builder
gatewayType(java.lang.String gatewayType)
GatewayArgs.Builder
gatewayVpcEndpoint(com.pulumi.core.Output<java.lang.String> gatewayVpcEndpoint)
GatewayArgs.Builder
gatewayVpcEndpoint(java.lang.String gatewayVpcEndpoint)
GatewayArgs.Builder
maintenanceStartTime(GatewayMaintenanceStartTimeArgs maintenanceStartTime)
GatewayArgs.Builder
maintenanceStartTime(com.pulumi.core.Output<GatewayMaintenanceStartTimeArgs> maintenanceStartTime)
GatewayArgs.Builder
mediumChangerType(com.pulumi.core.Output<java.lang.String> mediumChangerType)
GatewayArgs.Builder
mediumChangerType(java.lang.String mediumChangerType)
GatewayArgs.Builder
smbActiveDirectorySettings(GatewaySmbActiveDirectorySettingsArgs smbActiveDirectorySettings)
GatewayArgs.Builder
smbActiveDirectorySettings(com.pulumi.core.Output<GatewaySmbActiveDirectorySettingsArgs> smbActiveDirectorySettings)
GatewayArgs.Builder
smbFileShareVisibility(com.pulumi.core.Output<java.lang.Boolean> smbFileShareVisibility)
GatewayArgs.Builder
smbFileShareVisibility(java.lang.Boolean smbFileShareVisibility)
GatewayArgs.Builder
smbGuestPassword(com.pulumi.core.Output<java.lang.String> smbGuestPassword)
GatewayArgs.Builder
smbGuestPassword(java.lang.String smbGuestPassword)
GatewayArgs.Builder
smbSecurityStrategy(com.pulumi.core.Output<java.lang.String> smbSecurityStrategy)
GatewayArgs.Builder
smbSecurityStrategy(java.lang.String smbSecurityStrategy)
GatewayArgs.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
GatewayArgs.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
GatewayArgs.Builder
tapeDriveType(com.pulumi.core.Output<java.lang.String> tapeDriveType)
GatewayArgs.Builder
tapeDriveType(java.lang.String tapeDriveType)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GatewayArgs defaults)
-
-
Method Detail
-
activationKey
public GatewayArgs.Builder activationKey(@Nullable com.pulumi.core.Output<java.lang.String> activationKey)
- Parameters:
activationKey
- Gateway activation key during resource creation. Conflicts with `gateway_ip_address`. 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 GatewayArgs.Builder activationKey(java.lang.String activationKey)
- Parameters:
activationKey
- Gateway activation key during resource creation. Conflicts with `gateway_ip_address`. Additional information is available in the [Storage Gateway User Guide](https://docs.aws.amazon.com/storagegateway/latest/userguide/get-activation-key.html).- Returns:
- builder
-
averageDownloadRateLimitInBitsPerSec
public GatewayArgs.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 GatewayArgs.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 GatewayArgs.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 GatewayArgs.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 GatewayArgs.Builder cloudwatchLogGroupArn(@Nullable com.pulumi.core.Output<java.lang.String> cloudwatchLogGroupArn)
- Parameters:
cloudwatchLogGroupArn
- The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway.- Returns:
- builder
-
cloudwatchLogGroupArn
public GatewayArgs.Builder cloudwatchLogGroupArn(java.lang.String cloudwatchLogGroupArn)
- Parameters:
cloudwatchLogGroupArn
- The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway.- Returns:
- builder
-
gatewayIpAddress
public GatewayArgs.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 `activation_key`. 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 GatewayArgs.Builder gatewayIpAddress(java.lang.String gatewayIpAddress)
- Parameters:
gatewayIpAddress
- Gateway IP address to retrieve activation key during resource creation. Conflicts with `activation_key`. 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 GatewayArgs.Builder gatewayName(com.pulumi.core.Output<java.lang.String> gatewayName)
- Parameters:
gatewayName
- Name of the gateway.- Returns:
- builder
-
gatewayName
public GatewayArgs.Builder gatewayName(java.lang.String gatewayName)
- Parameters:
gatewayName
- Name of the gateway.- Returns:
- builder
-
gatewayTimezone
public GatewayArgs.Builder gatewayTimezone(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 GatewayArgs.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 GatewayArgs.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 GatewayArgs.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 GatewayArgs.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 this provider. More info on what ports are required by your VPC Endpoint Security group in [Activating a Gateway in a Virtual Private Cloud](https://docs.aws.amazon.com/storagegateway/latest/userguide/gateway-private-link.html).- Returns:
- builder
-
gatewayVpcEndpoint
public GatewayArgs.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 this provider. More info on what ports are required by your VPC Endpoint Security group in [Activating a Gateway in a Virtual Private Cloud](https://docs.aws.amazon.com/storagegateway/latest/userguide/gateway-private-link.html).- Returns:
- builder
-
maintenanceStartTime
public GatewayArgs.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 GatewayArgs.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 GatewayArgs.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 GatewayArgs.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
-
smbActiveDirectorySettings
public GatewayArgs.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 GatewayArgs.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 GatewayArgs.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 GatewayArgs.Builder smbFileShareVisibility(java.lang.Boolean smbFileShareVisibility)
- Parameters:
smbFileShareVisibility
- Specifies whether the shares on this gateway appear when listing shares.- Returns:
- builder
-
smbGuestPassword
public GatewayArgs.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 GatewayArgs.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 GatewayArgs.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 GatewayArgs.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 GatewayArgs.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 GatewayArgs.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
-
tapeDriveType
public GatewayArgs.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 GatewayArgs.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 GatewayArgs build()
-
-