Class Profile
java.lang.Object
software.amazon.awssdk.profiles.Profile
- All Implemented Interfaces:
ToCopyableBuilder<Profile.Builder,Profile>
A named collection of configuration stored in a
ProfileFile.
Raw property access can be made via property(String) and properties().
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanProperty(String propertyKey) Retrieve a specific property from this profile, and convert it to a boolean using the same algorithm asSystemSetting.getBooleanValue().static Profile.Builderbuilder()Create a builder for defining a profile with specific attributes.booleaninthashCode()name()Retrieve the name of this profile.Retrieve an unmodifiable view of all of the properties currently in this profile.Retrieve a specific raw property from this profile.Take this object and create a builder that contains all of the current property values of this object.toString()Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
builder
Create a builder for defining a profile with specific attributes. For reading profiles from a file, seeProfileFile. -
name
Retrieve the name of this profile. -
property
-
booleanProperty
Retrieve a specific property from this profile, and convert it to a boolean using the same algorithm asSystemSetting.getBooleanValue().- Parameters:
propertyKey- The name of the property to retrieve.- Returns:
- The boolean value of the property, if configured.
- Throws:
IllegalStateException- If the property is set, but it is not boolean.
-
properties
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Profile.Builder,Profile> - Returns:
- a builder for type T
-
toString
-
equals
-
hashCode
-