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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RuleTarget.BuilderdomainUnitTarget(Consumer<DomainUnitTarget.Builder> domainUnitTarget)The ID of the domain unit.RuleTarget.BuilderdomainUnitTarget(DomainUnitTarget domainUnitTarget)The ID of the domain unit.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
domainUnitTarget
RuleTarget.Builder domainUnitTarget(DomainUnitTarget 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
default RuleTarget.Builder domainUnitTarget(Consumer<DomainUnitTarget.Builder> 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:
domainUnitTarget(DomainUnitTarget)
-
-