Interface Permit.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Permit.Builder,,Permit> SdkBuilder<Permit.Builder,,Permit> SdkPojo
- Enclosing class:
Permit
-
Method Summary
Modifier and TypeMethodDescriptiondefault Permit.Builderactions(Consumer<ActionSet.Builder> actions) The set of actions that the support operator is authorized to perform.The set of actions that the support operator is authorized to perform.conditions(Collection<Condition> conditions) The time-window conditions that constrain when the permit is valid.conditions(Consumer<Condition.Builder>... conditions) The time-window conditions that constrain when the permit is valid.conditions(Condition... conditions) The time-window conditions that constrain when the permit is valid.default Permit.Builderresources(Consumer<ResourceSet.Builder> resources) The set of resources that the support operator is authorized to act upon.resources(ResourceSet resources) The set of resources that the support operator is authorized to act upon.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
-
actions
The set of actions that the support operator is authorized to perform.
- Parameters:
actions- The set of actions that the support operator is authorized to perform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The set of actions that the support operator is authorized to perform.
This is a convenience method that creates an instance of theActionSet.Builderavoiding the need to create one manually viaActionSet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactions(ActionSet).- Parameters:
actions- a consumer that will call methods onActionSet.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resources
The set of resources that the support operator is authorized to act upon.
- Parameters:
resources- The set of resources that the support operator is authorized to act upon.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
The set of resources that the support operator is authorized to act upon.
This is a convenience method that creates an instance of theResourceSet.Builderavoiding the need to create one manually viaResourceSet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresources(ResourceSet).- Parameters:
resources- a consumer that will call methods onResourceSet.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
conditions
The time-window conditions that constrain when the permit is valid. Maximum of 2 conditions.
- Parameters:
conditions- The time-window conditions that constrain when the permit is valid. Maximum of 2 conditions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The time-window conditions that constrain when the permit is valid. Maximum of 2 conditions.
- Parameters:
conditions- The time-window conditions that constrain when the permit is valid. Maximum of 2 conditions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The time-window conditions that constrain when the permit is valid. Maximum of 2 conditions.
This is a convenience method that creates an instance of theCondition.Builderavoiding the need to create one manually viaCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconditions(List<Condition>).- Parameters:
conditions- a consumer that will call methods onCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-