Interface CreateRemoteSourceActionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRemoteSourceActionRequest.Builder,,CreateRemoteSourceActionRequest> MgnRequest.Builder,SdkBuilder<CreateRemoteSourceActionRequest.Builder,,CreateRemoteSourceActionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateRemoteSourceActionRequest
@Mutable
@NotThreadSafe
public static interface CreateRemoteSourceActionRequest.Builder
extends MgnRequest.Builder, SdkPojo, CopyableBuilder<CreateRemoteSourceActionRequest.Builder,CreateRemoteSourceActionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionAccount ID.description(String description) A description of the source action.The name of the source action.operatingSystem(String operatingSystem) The operating system of the source servers that the script runs on.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.ssmParameterName(String ssmParameterName) AWS Systems Manager Parameter Store parameter name.Tags to assign to the source action.timeoutSeconds(Integer timeoutSeconds) The maximum time, in seconds, that the script can run on each source server.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mgn.model.MgnRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the source action.
- Parameters:
name- The name of the source action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the source action.
- Parameters:
description- A description of the source action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ssmParameterName
AWS Systems Manager Parameter Store parameter name.
- Parameters:
ssmParameterName- AWS Systems Manager Parameter Store parameter name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutSeconds
The maximum time, in seconds, that the script can run on each source server.
- Parameters:
timeoutSeconds- The maximum time, in seconds, that the script can run on each source server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operatingSystem
The operating system of the source servers that the script runs on. Set to
linuxorwindowsto run the script only on source servers with that operating system, orallto run it on both.- Parameters:
operatingSystem- The operating system of the source servers that the script runs on. Set tolinuxorwindowsto run the script only on source servers with that operating system, orallto run it on both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to assign to the source action.
- Parameters:
tags- Tags to assign to the source action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountID
Account ID.
- Parameters:
accountID- Account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateRemoteSourceActionRequest.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
CreateRemoteSourceActionRequest.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.
-