Interface RuleTarget.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RuleTarget.Builder,,RuleTarget> SdkBuilder<RuleTarget.Builder,,RuleTarget> SdkPojo
- Enclosing class:
RuleTarget
public static interface RuleTarget.Builder
extends SdkPojo, CopyableBuilder<RuleTarget.Builder,RuleTarget>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuleTarget.BuilderdomainUnitTarget(Consumer<DomainUnitTarget.Builder> domainUnitTarget) The ID of the domain unit.domainUnitTarget(DomainUnitTarget domainUnitTarget) The ID of the domain unit.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
-
domainUnitTarget
The ID of the domain unit.
- Parameters:
domainUnitTarget- The ID of the domain unit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainUnitTarget
The ID of the domain unit.
This is a convenience method that creates an instance of theDomainUnitTarget.Builderavoiding the need to create one manually viaDomainUnitTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todomainUnitTarget(DomainUnitTarget).- Parameters:
domainUnitTarget- a consumer that will call methods onDomainUnitTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-