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.BuilderactivationKey(com.pulumi.core.Output<java.lang.String> activationKey)GatewayArgs.BuilderactivationKey(java.lang.String activationKey)GatewayArgs.BuilderaverageDownloadRateLimitInBitsPerSec(com.pulumi.core.Output<java.lang.Integer> averageDownloadRateLimitInBitsPerSec)GatewayArgs.BuilderaverageDownloadRateLimitInBitsPerSec(java.lang.Integer averageDownloadRateLimitInBitsPerSec)GatewayArgs.BuilderaverageUploadRateLimitInBitsPerSec(com.pulumi.core.Output<java.lang.Integer> averageUploadRateLimitInBitsPerSec)GatewayArgs.BuilderaverageUploadRateLimitInBitsPerSec(java.lang.Integer averageUploadRateLimitInBitsPerSec)GatewayArgsbuild()GatewayArgs.BuildercloudwatchLogGroupArn(com.pulumi.core.Output<java.lang.String> cloudwatchLogGroupArn)GatewayArgs.BuildercloudwatchLogGroupArn(java.lang.String cloudwatchLogGroupArn)GatewayArgs.BuildergatewayIpAddress(com.pulumi.core.Output<java.lang.String> gatewayIpAddress)GatewayArgs.BuildergatewayIpAddress(java.lang.String gatewayIpAddress)GatewayArgs.BuildergatewayName(com.pulumi.core.Output<java.lang.String> gatewayName)GatewayArgs.BuildergatewayName(java.lang.String gatewayName)GatewayArgs.BuildergatewayTimezone(com.pulumi.core.Output<java.lang.String> gatewayTimezone)GatewayArgs.BuildergatewayTimezone(java.lang.String gatewayTimezone)GatewayArgs.BuildergatewayType(com.pulumi.core.Output<java.lang.String> gatewayType)GatewayArgs.BuildergatewayType(java.lang.String gatewayType)GatewayArgs.BuildergatewayVpcEndpoint(com.pulumi.core.Output<java.lang.String> gatewayVpcEndpoint)GatewayArgs.BuildergatewayVpcEndpoint(java.lang.String gatewayVpcEndpoint)GatewayArgs.BuildermaintenanceStartTime(GatewayMaintenanceStartTimeArgs maintenanceStartTime)GatewayArgs.BuildermaintenanceStartTime(com.pulumi.core.Output<GatewayMaintenanceStartTimeArgs> maintenanceStartTime)GatewayArgs.BuildermediumChangerType(com.pulumi.core.Output<java.lang.String> mediumChangerType)GatewayArgs.BuildermediumChangerType(java.lang.String mediumChangerType)GatewayArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)GatewayArgs.Builderregion(java.lang.String region)GatewayArgs.BuildersmbActiveDirectorySettings(GatewaySmbActiveDirectorySettingsArgs smbActiveDirectorySettings)GatewayArgs.BuildersmbActiveDirectorySettings(com.pulumi.core.Output<GatewaySmbActiveDirectorySettingsArgs> smbActiveDirectorySettings)GatewayArgs.BuildersmbFileShareVisibility(com.pulumi.core.Output<java.lang.Boolean> smbFileShareVisibility)GatewayArgs.BuildersmbFileShareVisibility(java.lang.Boolean smbFileShareVisibility)GatewayArgs.BuildersmbGuestPassword(com.pulumi.core.Output<java.lang.String> smbGuestPassword)GatewayArgs.BuildersmbGuestPassword(java.lang.String smbGuestPassword)GatewayArgs.BuildersmbSecurityStrategy(com.pulumi.core.Output<java.lang.String> smbSecurityStrategy)GatewayArgs.BuildersmbSecurityStrategy(java.lang.String smbSecurityStrategy)GatewayArgs.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)GatewayArgs.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)GatewayArgs.BuildertapeDriveType(com.pulumi.core.Output<java.lang.String> tapeDriveType)GatewayArgs.BuildertapeDriveType(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 `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 GatewayArgs.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
-
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- 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- 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 `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 GatewayArgs.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 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 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 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 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
-
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
-
region
public GatewayArgs.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 GatewayArgs.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 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 `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 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 `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
-
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()
-
-