Interface GetEnvironmentResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<GetEnvironmentResponse.Builder,,- GetEnvironmentResponse> - M2Response.Builder,- SdkBuilder<GetEnvironmentResponse.Builder,,- GetEnvironmentResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- GetEnvironmentResponse
- 
Method SummaryModifier and TypeMethodDescriptionactualCapacity(Integer actualCapacity) The number of instances included in the runtime environment.creationTime(Instant creationTime) The timestamp when the runtime environment was created.description(String description) The description of the runtime environment.engineType(String engineType) The target platform for the runtime environment.engineType(EngineType engineType) The target platform for the runtime environment.engineVersion(String engineVersion) The version of the runtime engine.environmentArn(String environmentArn) The Amazon Resource Name (ARN) of the runtime environment.environmentId(String environmentId) The unique identifier of the runtime environment.default GetEnvironmentResponse.BuilderhighAvailabilityConfig(Consumer<HighAvailabilityConfig.Builder> highAvailabilityConfig) The desired capacity of the high availability configuration for the runtime environment.highAvailabilityConfig(HighAvailabilityConfig highAvailabilityConfig) The desired capacity of the high availability configuration for the runtime environment.instanceType(String instanceType) The type of instance underlying the runtime environment.The identifier of a customer managed key.loadBalancerArn(String loadBalancerArn) The Amazon Resource Name (ARN) for the load balancer used with the runtime environment.The name of the runtime environment.networkType(String networkType) The network type supported by the runtime environment.networkType(NetworkType networkType) The network type supported by the runtime environment.default GetEnvironmentResponse.BuilderpendingMaintenance(Consumer<PendingMaintenance.Builder> pendingMaintenance) Indicates the pending maintenance scheduled on this environment.pendingMaintenance(PendingMaintenance pendingMaintenance) Indicates the pending maintenance scheduled on this environment.preferredMaintenanceWindow(String preferredMaintenanceWindow) The maintenance window for the runtime environment.publiclyAccessible(Boolean publiclyAccessible) Whether applications running in this runtime environment are publicly accessible.securityGroupIds(String... securityGroupIds) The unique identifiers of the security groups assigned to this runtime environment.securityGroupIds(Collection<String> securityGroupIds) The unique identifiers of the security groups assigned to this runtime environment.The status of the runtime environment.status(EnvironmentLifecycle status) The status of the runtime environment.statusReason(String statusReason) The reason for the reported status.storageConfigurations(Collection<StorageConfiguration> storageConfigurations) The storage configurations defined for the runtime environment.storageConfigurations(Consumer<StorageConfiguration.Builder>... storageConfigurations) The storage configurations defined for the runtime environment.storageConfigurations(StorageConfiguration... storageConfigurations) The storage configurations defined for the runtime environment.The unique identifiers of the subnets assigned to this runtime environment.subnetIds(Collection<String> subnetIds) The unique identifiers of the subnets assigned to this runtime environment.The tags defined for this runtime environment.The unique identifier for the VPC used with this runtime environment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.m2.model.M2Response.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
actualCapacityThe number of instances included in the runtime environment. A standalone runtime environment has a maximum of one instance. Currently, a high availability runtime environment has a maximum of two instances. - Parameters:
- actualCapacity- The number of instances included in the runtime environment. A standalone runtime environment has a maximum of one instance. Currently, a high availability runtime environment has a maximum of two instances.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
creationTimeThe timestamp when the runtime environment was created. - Parameters:
- creationTime- The timestamp when the runtime environment was created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
descriptionThe description of the runtime environment. - Parameters:
- description- The description of the runtime environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
engineTypeThe target platform for the runtime environment. - Parameters:
- engineType- The target platform for the runtime environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
engineTypeThe target platform for the runtime environment. - Parameters:
- engineType- The target platform for the runtime environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
engineVersionThe version of the runtime engine. - Parameters:
- engineVersion- The version of the runtime engine.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
environmentArnThe Amazon Resource Name (ARN) of the runtime environment. - Parameters:
- environmentArn- The Amazon Resource Name (ARN) of the runtime environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
environmentIdThe unique identifier of the runtime environment. - Parameters:
- environmentId- The unique identifier of the runtime environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
highAvailabilityConfigGetEnvironmentResponse.Builder highAvailabilityConfig(HighAvailabilityConfig highAvailabilityConfig) The desired capacity of the high availability configuration for the runtime environment. - Parameters:
- highAvailabilityConfig- The desired capacity of the high availability configuration for the runtime environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
highAvailabilityConfigdefault GetEnvironmentResponse.Builder highAvailabilityConfig(Consumer<HighAvailabilityConfig.Builder> highAvailabilityConfig) The desired capacity of the high availability configuration for the runtime environment. This is a convenience method that creates an instance of theHighAvailabilityConfig.Builderavoiding the need to create one manually viaHighAvailabilityConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohighAvailabilityConfig(HighAvailabilityConfig).- Parameters:
- highAvailabilityConfig- a consumer that will call methods on- HighAvailabilityConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
instanceTypeThe type of instance underlying the runtime environment. - Parameters:
- instanceType- The type of instance underlying the runtime environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
kmsKeyIdThe identifier of a customer managed key. - Parameters:
- kmsKeyId- The identifier of a customer managed key.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
loadBalancerArnThe Amazon Resource Name (ARN) for the load balancer used with the runtime environment. - Parameters:
- loadBalancerArn- The Amazon Resource Name (ARN) for the load balancer used with the runtime environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
nameThe name of the runtime environment. Must be unique within the account. - Parameters:
- name- The name of the runtime environment. Must be unique within the account.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
networkTypeThe network type supported by the runtime environment. - Parameters:
- networkType- The network type supported by the runtime environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
networkTypeThe network type supported by the runtime environment. - Parameters:
- networkType- The network type supported by the runtime environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
pendingMaintenanceIndicates the pending maintenance scheduled on this environment. - Parameters:
- pendingMaintenance- Indicates the pending maintenance scheduled on this environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
pendingMaintenancedefault GetEnvironmentResponse.Builder pendingMaintenance(Consumer<PendingMaintenance.Builder> pendingMaintenance) Indicates the pending maintenance scheduled on this environment. This is a convenience method that creates an instance of thePendingMaintenance.Builderavoiding the need to create one manually viaPendingMaintenance.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topendingMaintenance(PendingMaintenance).- Parameters:
- pendingMaintenance- a consumer that will call methods on- PendingMaintenance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
preferredMaintenanceWindowThe maintenance window for the runtime environment. If you don't provide a value for the maintenance window, the service assigns a random value. - Parameters:
- preferredMaintenanceWindow- The maintenance window for the runtime environment. If you don't provide a value for the maintenance window, the service assigns a random value.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
publiclyAccessibleWhether applications running in this runtime environment are publicly accessible. - Parameters:
- publiclyAccessible- Whether applications running in this runtime environment are publicly accessible.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
securityGroupIdsThe unique identifiers of the security groups assigned to this runtime environment. - Parameters:
- securityGroupIds- The unique identifiers of the security groups assigned to this runtime environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
securityGroupIdsThe unique identifiers of the security groups assigned to this runtime environment. - Parameters:
- securityGroupIds- The unique identifiers of the security groups assigned to this runtime environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
statusThe status of the runtime environment. If the Amazon Web Services Mainframe Modernization environment is missing a connection to the customer owned dependent resource, the status will be Unhealthy.- Parameters:
- status- The status of the runtime environment. If the Amazon Web Services Mainframe Modernization environment is missing a connection to the customer owned dependent resource, the status will be- Unhealthy.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
statusThe status of the runtime environment. If the Amazon Web Services Mainframe Modernization environment is missing a connection to the customer owned dependent resource, the status will be Unhealthy.- Parameters:
- status- The status of the runtime environment. If the Amazon Web Services Mainframe Modernization environment is missing a connection to the customer owned dependent resource, the status will be- Unhealthy.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
statusReasonThe reason for the reported status. - Parameters:
- statusReason- The reason for the reported status.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
storageConfigurationsGetEnvironmentResponse.Builder storageConfigurations(Collection<StorageConfiguration> storageConfigurations) The storage configurations defined for the runtime environment. - Parameters:
- storageConfigurations- The storage configurations defined for the runtime environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
storageConfigurationsThe storage configurations defined for the runtime environment. - Parameters:
- storageConfigurations- The storage configurations defined for the runtime environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
storageConfigurationsGetEnvironmentResponse.Builder storageConfigurations(Consumer<StorageConfiguration.Builder>... storageConfigurations) The storage configurations defined for the runtime environment. This is a convenience method that creates an instance of theStorageConfiguration.Builderavoiding the need to create one manually viaStorageConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostorageConfigurations(List<StorageConfiguration>).- Parameters:
- storageConfigurations- a consumer that will call methods on- StorageConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
subnetIdsThe unique identifiers of the subnets assigned to this runtime environment. - Parameters:
- subnetIds- The unique identifiers of the subnets assigned to this runtime environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
subnetIdsThe unique identifiers of the subnets assigned to this runtime environment. - Parameters:
- subnetIds- The unique identifiers of the subnets assigned to this runtime environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagsThe tags defined for this runtime environment. - Parameters:
- tags- The tags defined for this runtime environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
vpcIdThe unique identifier for the VPC used with this runtime environment. - Parameters:
- vpcId- The unique identifier for the VPC used with this runtime environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-