Interface CreateConnectorResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateConnectorResponse.Builder,,CreateConnectorResponse> MgnResponse.Builder,SdkBuilder<CreateConnectorResponse.Builder,,CreateConnectorResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateConnectorResponse
public static interface CreateConnectorResponse.Builder
extends MgnResponse.Builder, SdkPojo, CopyableBuilder<CreateConnectorResponse.Builder,CreateConnectorResponse>
-
Method Summary
Modifier and TypeMethodDescriptionConnector arn.connectorID(String connectorID) Connector ID.Connector name.default CreateConnectorResponse.BuilderssmCommandConfig(Consumer<ConnectorSsmCommandConfig.Builder> ssmCommandConfig) Connector SSM command config.ssmCommandConfig(ConnectorSsmCommandConfig ssmCommandConfig) Connector SSM command config.ssmInstanceID(String ssmInstanceID) Connector SSM instance ID.Connector tags.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mgn.model.MgnResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
arn
Connector arn.
- Parameters:
arn- Connector arn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectorID
Connector ID.
- Parameters:
connectorID- Connector ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Connector name.
- Parameters:
name- Connector name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ssmCommandConfig
Connector SSM command config.
- Parameters:
ssmCommandConfig- Connector SSM command config.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ssmCommandConfig
default CreateConnectorResponse.Builder ssmCommandConfig(Consumer<ConnectorSsmCommandConfig.Builder> ssmCommandConfig) Connector SSM command config.
This is a convenience method that creates an instance of theConnectorSsmCommandConfig.Builderavoiding the need to create one manually viaConnectorSsmCommandConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tossmCommandConfig(ConnectorSsmCommandConfig).- Parameters:
ssmCommandConfig- a consumer that will call methods onConnectorSsmCommandConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ssmInstanceID
Connector SSM instance ID.
- Parameters:
ssmInstanceID- Connector SSM instance ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Connector tags.
- Parameters:
tags- Connector tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-