Interface EnvironmentSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EnvironmentSummary.Builder,EnvironmentSummary>,SdkBuilder<EnvironmentSummary.Builder,EnvironmentSummary>,SdkPojo
- Enclosing class:
- EnvironmentSummary
public static interface EnvironmentSummary.Builder extends SdkPojo, CopyableBuilder<EnvironmentSummary.Builder,EnvironmentSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EnvironmentSummary.Builderarn(String arn)The Amazon Resource Name (ARN) of the environment.EnvironmentSummary.BuildercreatedTime(Instant createdTime)A timestamp that indicates when the environment is created.EnvironmentSummary.Builderdescription(String description)A description of the environment.EnvironmentSummary.BuilderenvironmentId(String environmentId)The unique identifier of the environment.default EnvironmentSummary.Buildererror(Consumer<ErrorResponse.Builder> error)Any error associated with the environment resource.EnvironmentSummary.Buildererror(ErrorResponse error)Any error associated with the environment resource.EnvironmentSummary.BuilderlastUpdatedTime(Instant lastUpdatedTime)A timestamp that indicates when the environment was last updated.EnvironmentSummary.Buildername(String name)The name of the environment.EnvironmentSummary.BuildernetworkFabricType(String networkFabricType)The network fabric type of the environment.EnvironmentSummary.BuildernetworkFabricType(NetworkFabricType networkFabricType)The network fabric type of the environment.EnvironmentSummary.BuilderownerAccountId(String ownerAccountId)The Amazon Web Services account ID of the environment owner.EnvironmentSummary.Builderstate(String state)The current state of the environment.EnvironmentSummary.Builderstate(EnvironmentState state)The current state of the environment.EnvironmentSummary.Buildertags(Map<String,String> tags)The tags assigned to the environment.EnvironmentSummary.BuildertransitGatewayId(String transitGatewayId)The ID of the Transit Gateway set up by the environment.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
arn
EnvironmentSummary.Builder arn(String arn)
The Amazon Resource Name (ARN) of the environment.
- Parameters:
arn- The Amazon Resource Name (ARN) of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
EnvironmentSummary.Builder createdTime(Instant createdTime)
A timestamp that indicates when the environment is created.
- Parameters:
createdTime- A timestamp that indicates when the environment is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
EnvironmentSummary.Builder description(String description)
A description of the environment.
- Parameters:
description- A description of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentId
EnvironmentSummary.Builder environmentId(String environmentId)
The unique identifier of the environment.
- Parameters:
environmentId- The unique identifier of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
EnvironmentSummary.Builder error(ErrorResponse error)
Any error associated with the environment resource.
- Parameters:
error- Any error associated with the environment resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
default EnvironmentSummary.Builder error(Consumer<ErrorResponse.Builder> error)
Any error associated with the environment resource.
This is a convenience method that creates an instance of theErrorResponse.Builderavoiding the need to create one manually viaErrorResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(ErrorResponse).- Parameters:
error- a consumer that will call methods onErrorResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
error(ErrorResponse)
-
lastUpdatedTime
EnvironmentSummary.Builder lastUpdatedTime(Instant lastUpdatedTime)
A timestamp that indicates when the environment was last updated.
- Parameters:
lastUpdatedTime- A timestamp that indicates when the environment was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
EnvironmentSummary.Builder name(String name)
The name of the environment.
- Parameters:
name- The name of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkFabricType
EnvironmentSummary.Builder networkFabricType(String networkFabricType)
The network fabric type of the environment.
- Parameters:
networkFabricType- The network fabric type of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NetworkFabricType,NetworkFabricType
-
networkFabricType
EnvironmentSummary.Builder networkFabricType(NetworkFabricType networkFabricType)
The network fabric type of the environment.
- Parameters:
networkFabricType- The network fabric type of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NetworkFabricType,NetworkFabricType
-
ownerAccountId
EnvironmentSummary.Builder ownerAccountId(String ownerAccountId)
The Amazon Web Services account ID of the environment owner.
- Parameters:
ownerAccountId- The Amazon Web Services account ID of the environment owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
EnvironmentSummary.Builder state(String state)
The current state of the environment.
- Parameters:
state- The current state of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EnvironmentState,EnvironmentState
-
state
EnvironmentSummary.Builder state(EnvironmentState state)
The current state of the environment.
- Parameters:
state- The current state of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EnvironmentState,EnvironmentState
-
tags
EnvironmentSummary.Builder tags(Map<String,String> tags)
The tags assigned to the environment.
- Parameters:
tags- The tags assigned to the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayId
EnvironmentSummary.Builder transitGatewayId(String transitGatewayId)
The ID of the Transit Gateway set up by the environment.
- Parameters:
transitGatewayId- The ID of the Transit Gateway set up by the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-