Interface AssociateEnvironmentOperationsRoleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AssociateEnvironmentOperationsRoleRequest.Builder,
,AssociateEnvironmentOperationsRoleRequest> ElasticBeanstalkRequest.Builder
,SdkBuilder<AssociateEnvironmentOperationsRoleRequest.Builder,
,AssociateEnvironmentOperationsRoleRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AssociateEnvironmentOperationsRoleRequest
public static interface AssociateEnvironmentOperationsRoleRequest.Builder
extends ElasticBeanstalkRequest.Builder, SdkPojo, CopyableBuilder<AssociateEnvironmentOperationsRoleRequest.Builder,AssociateEnvironmentOperationsRoleRequest>
-
Method Summary
Modifier and TypeMethodDescriptionenvironmentName
(String environmentName) The name of the environment to which to set the operations role.operationsRole
(String operationsRole) The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.elasticbeanstalk.model.ElasticBeanstalkRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
environmentName
The name of the environment to which to set the operations role.
- Parameters:
environmentName
- The name of the environment to which to set the operations role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationsRole
The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
- Parameters:
operationsRole
- The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AssociateEnvironmentOperationsRoleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AssociateEnvironmentOperationsRoleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-