Interface GetEnvironmentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContinuumResponse.Builder,CopyableBuilder<GetEnvironmentResponse.Builder,,GetEnvironmentResponse> SdkBuilder<GetEnvironmentResponse.Builder,,GetEnvironmentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetEnvironmentResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetEnvironmentResponse.Builderconfiguration(Consumer<EnvironmentConfigurationDetails.Builder> configuration) Type-specific configuration and state, including code sources, operating policy, Collector details, and the latest scan.configuration(EnvironmentConfigurationDetails configuration) Type-specific configuration and state, including code sources, operating policy, Collector details, and the latest scan.The timestamp when the environment was created.environmentArn(String environmentArn) The ARN of the environment.environmentId(String environmentId) The unique identifier of the environment.The customer-visible name of the environment.The current operational status of the environment.status(EnvironmentStatus status) The current operational status of the environment.statusMessage(String statusMessage) Human-readable details about the current status.statusUpdatedAt(Instant statusUpdatedAt) The timestamp when the status last transitioned.The timestamp when the environment's properties were last updated.Methods inherited from interface software.amazon.awssdk.services.continuum.model.ContinuumResponse.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
-
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.
-
environmentArn
The ARN of the environment.
- Parameters:
environmentArn- The ARN of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The customer-visible name of the environment.
- Parameters:
name- The customer-visible name of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current operational status of the environment.
- Parameters:
status- The current operational status of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current operational status of the environment.
- Parameters:
status- The current operational status of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
Human-readable details about the current status. Present when the status requires additional context (e.g., failure reason).
- Parameters:
statusMessage- Human-readable details about the current status. Present when the status requires additional context (e.g., failure reason).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusUpdatedAt
The timestamp when the status last transitioned.
- Parameters:
statusUpdatedAt- The timestamp when the status last transitioned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp when the environment was created.
- Parameters:
createdAt- The timestamp when the environment was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the environment's properties were last updated.
- Parameters:
updatedAt- The timestamp when the environment's properties were last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
Type-specific configuration and state, including code sources, operating policy, Collector details, and the latest scan.
- Parameters:
configuration- Type-specific configuration and state, including code sources, operating policy, Collector details, and the latest scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default GetEnvironmentResponse.Builder configuration(Consumer<EnvironmentConfigurationDetails.Builder> configuration) Type-specific configuration and state, including code sources, operating policy, Collector details, and the latest scan.
This is a convenience method that creates an instance of theEnvironmentConfigurationDetails.Builderavoiding the need to create one manually viaEnvironmentConfigurationDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(EnvironmentConfigurationDetails).- Parameters:
configuration- a consumer that will call methods onEnvironmentConfigurationDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-