Interface SourceAwsOrgConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SourceAwsOrgConfiguration.Builder,,SourceAwsOrgConfiguration> SdkBuilder<SourceAwsOrgConfiguration.Builder,,SourceAwsOrgConfiguration> SdkPojo
- Enclosing class:
SourceAwsOrgConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionaccountType(String accountType) The account type for this configuration.accountType(SourceAccountType accountType) The account type for this configuration.deploymentState(Consumer<OrgSourceDeploymentState.Builder> deploymentState) The current deployment state of the Amazon Web Services Organization-wide source configuration.deploymentState(OrgSourceDeploymentState deploymentState) The current deployment state of the Amazon Web Services Organization-wide source configuration.organizationalUnit(Consumer<SourceAwsOrgUnit.Builder> organizationalUnit) The organizational units within the Amazon Web Services Organization that are targeted for source monitoring.organizationalUnit(SourceAwsOrgUnit organizationalUnit) The organizational units within the Amazon Web Services Organization that are targeted for source monitoring.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
-
accountType
The account type for this configuration. For Amazon Web Services Organization-level configurations, this value is
source.- Parameters:
accountType- The account type for this configuration. For Amazon Web Services Organization-level configurations, this value issource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accountType
The account type for this configuration. For Amazon Web Services Organization-level configurations, this value is
source.- Parameters:
accountType- The account type for this configuration. For Amazon Web Services Organization-level configurations, this value issource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
organizationalUnit
The organizational units within the Amazon Web Services Organization that are targeted for source monitoring.
- Parameters:
organizationalUnit- The organizational units within the Amazon Web Services Organization that are targeted for source monitoring.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationalUnit
default SourceAwsOrgConfiguration.Builder organizationalUnit(Consumer<SourceAwsOrgUnit.Builder> organizationalUnit) The organizational units within the Amazon Web Services Organization that are targeted for source monitoring.
This is a convenience method that creates an instance of theSourceAwsOrgUnit.Builderavoiding the need to create one manually viaSourceAwsOrgUnit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toorganizationalUnit(SourceAwsOrgUnit).- Parameters:
organizationalUnit- a consumer that will call methods onSourceAwsOrgUnit.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentState
The current deployment state of the Amazon Web Services Organization-wide source configuration.
- Parameters:
deploymentState- The current deployment state of the Amazon Web Services Organization-wide source configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentState
default SourceAwsOrgConfiguration.Builder deploymentState(Consumer<OrgSourceDeploymentState.Builder> deploymentState) The current deployment state of the Amazon Web Services Organization-wide source configuration.
This is a convenience method that creates an instance of theOrgSourceDeploymentState.Builderavoiding the need to create one manually viaOrgSourceDeploymentState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeploymentState(OrgSourceDeploymentState).- Parameters:
deploymentState- a consumer that will call methods onOrgSourceDeploymentState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-