Interface GetEnvironmentResponse.Builder
- All Superinterfaces:
AmplifyGen3Response.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetEnvironmentResponse.Builder,,GetEnvironmentResponse> SdkBuilder<GetEnvironmentResponse.Builder,,GetEnvironmentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetEnvironmentResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the app.default GetEnvironmentResponse.Builderbackend(Consumer<EnvironmentBackend.Builder> backend) The backend settings for the environment.backend(EnvironmentBackend backend) The backend settings for the environment.The time at which the environment was created.environmentArn(String environmentArn) The Amazon Resource Name (ARN) of the environment.environmentName(String environmentName) The name of the environment.environmentRoleArn(String environmentRoleArn) The Amazon Resource Name (ARN) of the IAM role for the environment.environmentRolePermissionMode(String environmentRolePermissionMode) The permission mode for the environment's IAM role.environmentRolePermissionMode(EnvironmentRolePermissionMode environmentRolePermissionMode) The permission mode for the environment's IAM role.default GetEnvironmentResponse.BuildergradualRolloutConfig(Consumer<GradualRolloutConfig.Builder> gradualRolloutConfig) The gradual rollout settings.gradualRolloutConfig(GradualRolloutConfig gradualRolloutConfig) The gradual rollout settings.default GetEnvironmentResponse.BuildernetworkConfig(Consumer<EnvironmentNetworkConfig.Builder> networkConfig) The VPC network configuration for the environment.networkConfig(EnvironmentNetworkConfig networkConfig) The VPC network configuration for the environment.default GetEnvironmentResponse.BuildersourceConfig(Consumer<EnvironmentSourceConfig.Builder> sourceConfig) The source configuration for the environment.sourceConfig(EnvironmentSourceConfig sourceConfig) The source configuration for the environment.The type of the environment.type(EnvironmentType type) The type of the environment.The time at which the environment was last updated.wafLogConfigs(Collection<WafLogConfig> wafLogConfigs) A list of the environment's AWS WAF log configurations.wafLogConfigs(Consumer<WafLogConfig.Builder>... wafLogConfigs) A list of the environment's AWS WAF log configurations.wafLogConfigs(WafLogConfig... wafLogConfigs) A list of the environment's AWS WAF log configurations.default GetEnvironmentResponse.BuilderThe web hosting settings for the environment.web(EnvironmentWebConfig web) The web hosting settings for the environment.Methods inherited from interface software.amazon.awssdk.services.amplifygen3.model.AmplifyGen3Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
appName
The name of the app.
- Parameters:
appName- The name of the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentName
The name of the environment.
- Parameters:
environmentName- The name of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentArn
The Amazon Resource Name (ARN) of the environment.
- Parameters:
environmentArn- The Amazon Resource Name (ARN) of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the environment.
- Parameters:
type- The type of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the environment.
- Parameters:
type- The type of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
environmentRoleArn
The Amazon Resource Name (ARN) of the IAM role for the environment.
- Parameters:
environmentRoleArn- The Amazon Resource Name (ARN) of the IAM role for the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentRolePermissionMode
The permission mode for the environment's IAM role.
- Parameters:
environmentRolePermissionMode- The permission mode for the environment's IAM role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
environmentRolePermissionMode
GetEnvironmentResponse.Builder environmentRolePermissionMode(EnvironmentRolePermissionMode environmentRolePermissionMode) The permission mode for the environment's IAM role.
- Parameters:
environmentRolePermissionMode- The permission mode for the environment's IAM role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceConfig
The source configuration for the environment.
- Parameters:
sourceConfig- The source configuration for the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfig
default GetEnvironmentResponse.Builder sourceConfig(Consumer<EnvironmentSourceConfig.Builder> sourceConfig) The source configuration for the environment.
This is a convenience method that creates an instance of theEnvironmentSourceConfig.Builderavoiding the need to create one manually viaEnvironmentSourceConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceConfig(EnvironmentSourceConfig).- Parameters:
sourceConfig- a consumer that will call methods onEnvironmentSourceConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
wafLogConfigs
A list of the environment's AWS WAF log configurations. Omitted when the environment has no WAF log configuration.
- Parameters:
wafLogConfigs- A list of the environment's AWS WAF log configurations. Omitted when the environment has no WAF log configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wafLogConfigs
A list of the environment's AWS WAF log configurations. Omitted when the environment has no WAF log configuration.
- Parameters:
wafLogConfigs- A list of the environment's AWS WAF log configurations. Omitted when the environment has no WAF log configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wafLogConfigs
A list of the environment's AWS WAF log configurations. Omitted when the environment has no WAF log configuration.
This is a convenience method that creates an instance of theWafLogConfig.Builderavoiding the need to create one manually viaWafLogConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towafLogConfigs(List<WafLogConfig>).- Parameters:
wafLogConfigs- a consumer that will call methods onWafLogConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gradualRolloutConfig
The gradual rollout settings.
- Parameters:
gradualRolloutConfig- The gradual rollout settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gradualRolloutConfig
default GetEnvironmentResponse.Builder gradualRolloutConfig(Consumer<GradualRolloutConfig.Builder> gradualRolloutConfig) The gradual rollout settings.
This is a convenience method that creates an instance of theGradualRolloutConfig.Builderavoiding the need to create one manually viaGradualRolloutConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togradualRolloutConfig(GradualRolloutConfig).- Parameters:
gradualRolloutConfig- a consumer that will call methods onGradualRolloutConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
web
The web hosting settings for the environment.
- Parameters:
web- The web hosting settings for the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
web
The web hosting settings for the environment.
This is a convenience method that creates an instance of theEnvironmentWebConfig.Builderavoiding the need to create one manually viaEnvironmentWebConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toweb(EnvironmentWebConfig).- Parameters:
web- a consumer that will call methods onEnvironmentWebConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
backend
The backend settings for the environment. Database is present only when the app has a backend. Auth is present whenever it is stored.
- Parameters:
backend- The backend settings for the environment. Database is present only when the app has a backend. Auth is present whenever it is stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backend
The backend settings for the environment. Database is present only when the app has a backend. Auth is present whenever it is stored.
This is a convenience method that creates an instance of theEnvironmentBackend.Builderavoiding the need to create one manually viaEnvironmentBackend.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobackend(EnvironmentBackend).- Parameters:
backend- a consumer that will call methods onEnvironmentBackend.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkConfig
The VPC network configuration for the environment.
- Parameters:
networkConfig- The VPC network configuration for the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfig
default GetEnvironmentResponse.Builder networkConfig(Consumer<EnvironmentNetworkConfig.Builder> networkConfig) The VPC network configuration for the environment.
This is a convenience method that creates an instance of theEnvironmentNetworkConfig.Builderavoiding the need to create one manually viaEnvironmentNetworkConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkConfig(EnvironmentNetworkConfig).- Parameters:
networkConfig- a consumer that will call methods onEnvironmentNetworkConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time at which the environment was created. The value is in ISO-8601 format.
- Parameters:
createdAt- The time at which the environment was created. The value is in ISO-8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The time at which the environment was last updated. The value is in ISO-8601 format.
- Parameters:
updatedAt- The time at which the environment was last updated. The value is in ISO-8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-