Interface Connector.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Connector.Builder,,Connector> SdkBuilder<Connector.Builder,,Connector> SdkPojo
- Enclosing class:
Connector
-
Method Summary
Modifier and TypeMethodDescriptionautoInstallVMScanner(Boolean autoInstallVMScanner) Specifies whether the VM scanner is automatically installed on connected resources.awsConfigConnectorArn(String awsConfigConnectorArn) The ARN of the Amazon Web Services Config connector associated with this connector.azureRegions(String... azureRegions) The Azure regions configured for the connector.azureRegions(Collection<String> azureRegions) The Azure regions configured for the connector.connectorArn(String connectorArn) The Amazon Resource Name (ARN) of the connector.The date and time when the connector was created.description(String description) A description of the connector.enablementStatus(String enablementStatus) The enablement status of the connector, which indicates whether the connector is active and scanning resources.enablementStatus(EnablementStatus enablementStatus) The enablement status of the connector, which indicates whether the connector is active and scanning resources.enablementStatusReason(String enablementStatusReason) Additional information about the current enablement status of the connector.default Connector.Builderhealth(Consumer<ConnectorHealth.Builder> health) The health of the connector, which indicates whether Amazon Inspector can reach and scan the connected resources.health(ConnectorHealth health) The health of the connector, which indicates whether Amazon Inspector can reach and scan the connected resources.The name of the connector.The cloud provider for the connector.provider(ConnectorCloudProvider provider) The cloud provider for the connector.default Connector.BuilderscopeConfiguration(Consumer<AzureScopeConfiguration.Builder> scopeConfiguration) The Azure scope configuration for the connector.scopeConfiguration(AzureScopeConfiguration scopeConfiguration) The Azure scope configuration for the connector.The tags associated with the connector.The date and time when the connector was last updated.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
-
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.
-
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
A description of the connector.
- Parameters:
description- A description of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provider
The cloud provider for the connector.
- Parameters:
provider- The cloud provider for the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
provider
The cloud provider for the connector.
- Parameters:
provider- The cloud provider for 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, which indicates whether the connector is active and scanning resources.
- Parameters:
enablementStatus- The enablement status of the connector, which indicates whether the connector is active and scanning resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enablementStatus
The enablement status of the connector, which indicates whether the connector is active and scanning resources.
- Parameters:
enablementStatus- The enablement status of the connector, which indicates whether the connector is active and scanning resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enablementStatusReason
Additional information about the current enablement status of the connector.
- Parameters:
enablementStatusReason- Additional information about the current enablement status of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
health
The health of the connector, which indicates whether Amazon Inspector can reach and scan the connected resources.
- Parameters:
health- The health of the connector, which indicates whether Amazon Inspector can reach and scan the connected resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
health
The health of the connector, which indicates whether Amazon Inspector can reach and scan the connected resources.
This is a convenience method that creates an instance of theConnectorHealth.Builderavoiding the need to create one manually viaConnectorHealth.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohealth(ConnectorHealth).- Parameters:
health- a consumer that will call methods onConnectorHealth.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The date and time when the connector was created.
- Parameters:
createdAt- The date and time when the connector was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date and time when the connector was last updated.
- Parameters:
updatedAt- The date and time when the connector was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
azureRegions
The Azure regions configured for the connector.
- Parameters:
azureRegions- The Azure regions configured for the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
azureRegions
The Azure regions configured for the connector.
- Parameters:
azureRegions- The Azure regions configured for the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsConfigConnectorArn
The ARN of the Amazon Web Services Config connector associated with this connector.
- Parameters:
awsConfigConnectorArn- The ARN of the Amazon Web Services Config connector associated with this connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopeConfiguration
The Azure scope configuration for the connector.
- Parameters:
scopeConfiguration- The Azure scope configuration for the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopeConfiguration
default Connector.Builder scopeConfiguration(Consumer<AzureScopeConfiguration.Builder> scopeConfiguration) The Azure scope configuration for the connector.
This is a convenience method that creates an instance of theAzureScopeConfiguration.Builderavoiding the need to create one manually viaAzureScopeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscopeConfiguration(AzureScopeConfiguration).- Parameters:
scopeConfiguration- a consumer that will call methods onAzureScopeConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags associated with the connector.
- Parameters:
tags- The tags associated with the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoInstallVMScanner
Specifies whether the VM scanner is automatically installed on connected resources.
- Parameters:
autoInstallVMScanner- Specifies whether the VM scanner is automatically installed on connected resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-