public static interface GetEnvironmentResponse.Builder extends MigrationHubRefactorSpacesResponse.Builder, SdkPojo, CopyableBuilder<GetEnvironmentResponse.Builder,GetEnvironmentResponse>
| Modifier and Type | Method and Description |
|---|---|
GetEnvironmentResponse.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the environment.
|
GetEnvironmentResponse.Builder |
createdTime(Instant createdTime)
A timestamp that indicates when the environment is created.
|
GetEnvironmentResponse.Builder |
description(String description)
The description of the environment.
|
GetEnvironmentResponse.Builder |
environmentId(String environmentId)
The unique identifier of the environment.
|
default GetEnvironmentResponse.Builder |
error(Consumer<ErrorResponse.Builder> error)
Any error associated with the environment resource.
|
GetEnvironmentResponse.Builder |
error(ErrorResponse error)
Any error associated with the environment resource.
|
GetEnvironmentResponse.Builder |
lastUpdatedTime(Instant lastUpdatedTime)
A timestamp that indicates when the environment was last updated.
|
GetEnvironmentResponse.Builder |
name(String name)
The name of the environment.
|
GetEnvironmentResponse.Builder |
networkFabricType(NetworkFabricType networkFabricType)
The network fabric type of the environment.
|
GetEnvironmentResponse.Builder |
networkFabricType(String networkFabricType)
The network fabric type of the environment.
|
GetEnvironmentResponse.Builder |
ownerAccountId(String ownerAccountId)
The Amazon Web Services account ID of the environment owner.
|
GetEnvironmentResponse.Builder |
state(EnvironmentState state)
The current state of the environment.
|
GetEnvironmentResponse.Builder |
state(String state)
The current state of the environment.
|
GetEnvironmentResponse.Builder |
tags(Map<String,String> tags)
The tags to assign to the environment.
|
GetEnvironmentResponse.Builder |
transitGatewayId(String transitGatewayId)
The ID of the transit gateway set up by the environment.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetEnvironmentResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the environment.
arn - The Amazon Resource Name (ARN) of the environment.GetEnvironmentResponse.Builder createdTime(Instant createdTime)
A timestamp that indicates when the environment is created.
createdTime - A timestamp that indicates when the environment is created.GetEnvironmentResponse.Builder description(String description)
The description of the environment.
description - The description of the environment.GetEnvironmentResponse.Builder environmentId(String environmentId)
The unique identifier of the environment.
environmentId - The unique identifier of the environment.GetEnvironmentResponse.Builder error(ErrorResponse error)
Any error associated with the environment resource.
error - Any error associated with the environment resource.default GetEnvironmentResponse.Builder error(Consumer<ErrorResponse.Builder> error)
Any error associated with the environment resource.
This is a convenience method that creates an instance of theErrorResponse.Builder avoiding the need
to create one manually via ErrorResponse.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to error(ErrorResponse).
error - a consumer that will call methods on ErrorResponse.Buildererror(ErrorResponse)GetEnvironmentResponse.Builder lastUpdatedTime(Instant lastUpdatedTime)
A timestamp that indicates when the environment was last updated.
lastUpdatedTime - A timestamp that indicates when the environment was last updated.GetEnvironmentResponse.Builder name(String name)
The name of the environment.
name - The name of the environment.GetEnvironmentResponse.Builder networkFabricType(String networkFabricType)
The network fabric type of the environment.
networkFabricType - The network fabric type of the environment.NetworkFabricType,
NetworkFabricTypeGetEnvironmentResponse.Builder networkFabricType(NetworkFabricType networkFabricType)
The network fabric type of the environment.
networkFabricType - The network fabric type of the environment.NetworkFabricType,
NetworkFabricTypeGetEnvironmentResponse.Builder ownerAccountId(String ownerAccountId)
The Amazon Web Services account ID of the environment owner.
ownerAccountId - The Amazon Web Services account ID of the environment owner.GetEnvironmentResponse.Builder state(String state)
The current state of the environment.
state - The current state of the environment.EnvironmentState,
EnvironmentStateGetEnvironmentResponse.Builder state(EnvironmentState state)
The current state of the environment.
state - The current state of the environment.EnvironmentState,
EnvironmentStateGetEnvironmentResponse.Builder tags(Map<String,String> tags)
The tags to assign to the environment. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
tags - The tags to assign to the environment. A tag is a label that you assign to an Amazon Web Services
resource. Each tag consists of a key-value pair.GetEnvironmentResponse.Builder transitGatewayId(String transitGatewayId)
The ID of the transit gateway set up by the environment.
transitGatewayId - The ID of the transit gateway set up by the environment.Copyright © 2022. All rights reserved.