Interface GetConnectorResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetConnectorResponse.Builder,,GetConnectorResponse> SdkBuilder<GetConnectorResponse.Builder,,GetConnectorResponse> SdkPojo,SdkResponse.Builder,SecurityHubResponse.Builder
- Enclosing class:
GetConnectorResponse
-
Method Summary
Modifier and TypeMethodDescriptionconnectorArn(String connectorArn) The Amazon Resource Name (ARN) of the connector.connectorId(String connectorId) The unique identifier of the connector.The ISO 8601 UTC timestamp indicating when the connector was created.The service principal that created the connector.description(String description) The description of the connector.enablementStatus(String enablementStatus) The enablement status of the connector.enablementStatus(CspmEnablementStatus enablementStatus) The enablement status of the connector.default GetConnectorResponse.Builderhealth(Consumer<CspmHealthCheck.Builder> health) The health status of the connector, including connectivity status and last check time.health(CspmHealthCheck health) The health status of the connector, including connectivity status and last check time.lastUpdatedAt(Instant lastUpdatedAt) The ISO 8601 UTC timestamp indicating when the connector was last updated.The name of the connector.default GetConnectorResponse.BuilderproviderDetail(Consumer<CspmProviderDetail.Builder> providerDetail) The cloud provider configuration details for the connector.providerDetail(CspmProviderDetail providerDetail) The cloud provider configuration details for the connector.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
connectorArn
The Amazon Resource Name (ARN) of the connector.
- Parameters:
connectorArn- The Amazon Resource Name (ARN) of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectorId
The unique identifier of the connector.
- Parameters:
connectorId- The unique identifier of the connector.- 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.
-
description
The description of the connector.
- Parameters:
description- The description of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The ISO 8601 UTC timestamp indicating when the connector was created.
- Parameters:
createdAt- The ISO 8601 UTC timestamp indicating when the connector was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
The ISO 8601 UTC timestamp indicating when the connector was last updated.
- Parameters:
lastUpdatedAt- The ISO 8601 UTC timestamp indicating when the connector was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
health
The health status of the connector, including connectivity status and last check time.
- Parameters:
health- The health status of the connector, including connectivity status and last check time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
health
The health status of the connector, including connectivity status and last check time.
This is a convenience method that creates an instance of theCspmHealthCheck.Builderavoiding the need to create one manually viaCspmHealthCheck.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohealth(CspmHealthCheck).- Parameters:
health- a consumer that will call methods onCspmHealthCheck.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
providerDetail
The cloud provider configuration details for the connector.
- Parameters:
providerDetail- The cloud provider configuration details for the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerDetail
default GetConnectorResponse.Builder providerDetail(Consumer<CspmProviderDetail.Builder> providerDetail) The cloud provider configuration details for the connector.
This is a convenience method that creates an instance of theCspmProviderDetail.Builderavoiding the need to create one manually viaCspmProviderDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproviderDetail(CspmProviderDetail).- Parameters:
providerDetail- a consumer that will call methods onCspmProviderDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdBy
The service principal that created the connector.
- Parameters:
createdBy- The service principal that created the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enablementStatus
The enablement status of the connector.
- Parameters:
enablementStatus- The enablement status of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enablementStatus
The enablement status of the connector.
- Parameters:
enablementStatus- The enablement status of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-