Interface PredefinedAttribute.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PredefinedAttribute.Builder,
,PredefinedAttribute> SdkBuilder<PredefinedAttribute.Builder,
,PredefinedAttribute> SdkPojo
- Enclosing class:
PredefinedAttribute
public static interface PredefinedAttribute.Builder
extends SdkPojo, CopyableBuilder<PredefinedAttribute.Builder,PredefinedAttribute>
-
Method Summary
Modifier and TypeMethodDescriptionlastModifiedRegion
(String lastModifiedRegion) Last modified region.lastModifiedTime
(Instant lastModifiedTime) Last modified time.The name of the predefined attribute.default PredefinedAttribute.Builder
The values of the predefined attribute.values
(PredefinedAttributeValues values) The values of the predefined attribute.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, sdkFields
-
Method Details
-
name
The name of the predefined attribute.
- Parameters:
name
- The name of the predefined attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
The values of the predefined attribute.
- Parameters:
values
- The values of the predefined attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
The values of the predefined attribute.
This is a convenience method that creates an instance of thePredefinedAttributeValues.Builder
avoiding the need to create one manually viaPredefinedAttributeValues.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalues(PredefinedAttributeValues)
.- Parameters:
values
- a consumer that will call methods onPredefinedAttributeValues.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastModifiedTime
Last modified time.
- Parameters:
lastModifiedTime
- Last modified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedRegion
Last modified region.
- Parameters:
lastModifiedRegion
- Last modified region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-