Interface Connector.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Connector.Builder,,Connector> SdkBuilder<Connector.Builder,,Connector> SdkPojo
- Enclosing class:
Connector
@Mutable
@NotThreadSafe
public static interface Connector.Builder
extends SdkPojo, CopyableBuilder<Connector.Builder,Connector>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the connector.default Connector.BuilderconnectorConfiguration(Consumer<ConnectorConfiguration.Builder> connectorConfiguration) The configuration for connecting to the third-party cloud provider.connectorConfiguration(ConnectorConfiguration connectorConfiguration) The configuration for connecting to the third-party cloud provider.createdTimeStamp(Long createdTimeStamp) The time when the connector was created, in milliseconds since the Unix epoch.The name of the connector.The cloud provider that the connector connects to.provider(ConnectorProvider provider) The cloud provider that the connector connects to.The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that CloudWatch assumes to obtain credentials for the third-party cloud provider.Methods 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
-
arn
The Amazon Resource Name (ARN) of the connector.
- Parameters:
arn- The Amazon Resource Name (ARN) of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provider
The cloud provider that the connector connects to.
- Parameters:
provider- The cloud provider that the connector connects to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
provider
The cloud provider that the connector connects to.
- Parameters:
provider- The cloud provider that the connector connects to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectorConfiguration
The configuration for connecting to the third-party cloud provider.
- Parameters:
connectorConfiguration- The configuration for connecting to the third-party cloud provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectorConfiguration
default Connector.Builder connectorConfiguration(Consumer<ConnectorConfiguration.Builder> connectorConfiguration) The configuration for connecting to the third-party cloud provider.
This is a convenience method that creates an instance of theConnectorConfiguration.Builderavoiding the need to create one manually viaConnectorConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconnectorConfiguration(ConnectorConfiguration).- Parameters:
connectorConfiguration- a consumer that will call methods onConnectorConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that CloudWatch assumes to obtain credentials for the third-party cloud provider.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that CloudWatch assumes to obtain credentials for the third-party cloud provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the connector.
- Parameters:
name- The name of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTimeStamp
The time when the connector was created, in milliseconds since the Unix epoch.
- Parameters:
createdTimeStamp- The time when the connector was created, in milliseconds since the Unix epoch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-