Interface RegisterOnPremisesInstanceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeDeployRequest.Builder,CopyableBuilder<RegisterOnPremisesInstanceRequest.Builder,,RegisterOnPremisesInstanceRequest> SdkBuilder<RegisterOnPremisesInstanceRequest.Builder,,RegisterOnPremisesInstanceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
RegisterOnPremisesInstanceRequest
@Mutable
@NotThreadSafe
public static interface RegisterOnPremisesInstanceRequest.Builder
extends CodeDeployRequest.Builder, SdkPojo, CopyableBuilder<RegisterOnPremisesInstanceRequest.Builder,RegisterOnPremisesInstanceRequest>
-
Method Summary
Modifier and TypeMethodDescriptioniamSessionArn(String iamSessionArn) The ARN of the IAM session to associate with the on-premises instance.iamUserArn(String iamUserArn) The ARN of the user to associate with the on-premises instance.instanceName(String instanceName) The name of the on-premises instance to register.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.codedeploy.model.CodeDeployRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
instanceName
The name of the on-premises instance to register.
- Parameters:
instanceName- The name of the on-premises instance to register.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamSessionArn
The ARN of the IAM session to associate with the on-premises instance.
- Parameters:
iamSessionArn- The ARN of the IAM session to associate with the on-premises instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamUserArn
The ARN of the user to associate with the on-premises instance.
- Parameters:
iamUserArn- The ARN of the user to associate with the on-premises instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RegisterOnPremisesInstanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
RegisterOnPremisesInstanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-