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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PredefinedAttribute.BuilderlastModifiedRegion(String lastModifiedRegion)Last modified region.PredefinedAttribute.BuilderlastModifiedTime(Instant lastModifiedTime)Last modified time.PredefinedAttribute.Buildername(String name)The name of the predefined attribute.default PredefinedAttribute.Buildervalues(Consumer<PredefinedAttributeValues.Builder> values)The values of the predefined attribute.PredefinedAttribute.Buildervalues(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 Detail
-
name
PredefinedAttribute.Builder name(String 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
PredefinedAttribute.Builder values(PredefinedAttributeValues 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
default PredefinedAttribute.Builder values(Consumer<PredefinedAttributeValues.Builder> values)
The values of the predefined attribute.
This is a convenience method that creates an instance of thePredefinedAttributeValues.Builderavoiding the need to create one manually viaPredefinedAttributeValues.builder().When the
Consumercompletes,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:
values(PredefinedAttributeValues)
-
lastModifiedTime
PredefinedAttribute.Builder lastModifiedTime(Instant 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
PredefinedAttribute.Builder lastModifiedRegion(String lastModifiedRegion)
Last modified region.
- Parameters:
lastModifiedRegion- Last modified region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-