Class Setting
- java.lang.Object
-
- software.amazon.awssdk.services.ecs.model.Setting
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Setting.Builder,Setting>
@Generated("software.amazon.awssdk:codegen") public final class Setting extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Setting.Builder,Setting>
The current account setting for a resource.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSetting.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Setting.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()SettingNamename()The Amazon ECS resource name.StringnameAsString()The Amazon ECS resource name.StringprincipalArn()The ARN of the principal.List<SdkField<?>>sdkFields()static Class<? extends Setting.Builder>serializableBuilderClass()Setting.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringvalue()Determines whether the account setting is on or off for the specified resource.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final SettingName name()
The Amazon ECS resource name.
If the service returns an enum value that is not available in the current SDK version,
namewill returnSettingName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The Amazon ECS resource name.
- See Also:
SettingName
-
nameAsString
public final String nameAsString()
The Amazon ECS resource name.
If the service returns an enum value that is not available in the current SDK version,
namewill returnSettingName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The Amazon ECS resource name.
- See Also:
SettingName
-
value
public final String value()
Determines whether the account setting is on or off for the specified resource.
- Returns:
- Determines whether the account setting is on or off for the specified resource.
-
principalArn
public final String principalArn()
The ARN of the principal. It can be a user, role, or the root user. If this field is omitted, the authenticated user is assumed.
- Returns:
- The ARN of the principal. It can be a user, role, or the root user. If this field is omitted, the authenticated user is assumed.
-
toBuilder
public Setting.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Setting.Builder,Setting>
-
builder
public static Setting.Builder builder()
-
serializableBuilderClass
public static Class<? extends Setting.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-