Interface GetEnvironmentResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetEnvironmentResponse.Builder,GetEnvironmentResponse>, MigrationHubRefactorSpacesResponse.Builder, SdkBuilder<GetEnvironmentResponse.Builder,GetEnvironmentResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetEnvironmentResponse

  • Method Details

    • 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

      GetEnvironmentResponse.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

      GetEnvironmentResponse.Builder description(String description)

      The description of the environment.

      Parameters:
      description - The description of the environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • environmentId

      GetEnvironmentResponse.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

      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

      Any error associated with the environment resource.

      This is a convenience method that creates an instance of the ErrorResponse.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).

      Parameters:
      error - a consumer that will call methods on ErrorResponse.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastUpdatedTime

      GetEnvironmentResponse.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

      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

      GetEnvironmentResponse.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

      GetEnvironmentResponse.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:
    • ownerAccountId

      GetEnvironmentResponse.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

      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:
    • 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:
    • 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • transitGatewayId

      GetEnvironmentResponse.Builder transitGatewayId(String transitGatewayId)

      The ID of the Transit Gateway set up by the environment, if applicable.

      Parameters:
      transitGatewayId - The ID of the Transit Gateway set up by the environment, if applicable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.