Interface Setting.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Setting.Builder,Setting>,SdkBuilder<Setting.Builder,Setting>,SdkPojo
- Enclosing class:
- Setting
public static interface Setting.Builder extends SdkPojo, CopyableBuilder<Setting.Builder,Setting>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Setting.Buildername(String name)The Amazon ECS resource name.Setting.Buildername(SettingName name)The Amazon ECS resource name.Setting.BuilderprincipalArn(String principalArn)The ARN of the principal.Setting.Buildertype(String type)Indicates whether Amazon Web Services manages the account setting, or if the user manages it.Setting.Buildertype(SettingType type)Indicates whether Amazon Web Services manages the account setting, or if the user manages it.Setting.Buildervalue(String value)Determines whether the account setting is on or off for the specified resource.-
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
Setting.Builder name(String name)
The Amazon ECS resource name.
- Parameters:
name- The Amazon ECS resource name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SettingName,SettingName
-
name
Setting.Builder name(SettingName name)
The Amazon ECS resource name.
- Parameters:
name- The Amazon ECS resource name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SettingName,SettingName
-
value
Setting.Builder value(String value)
Determines whether the account setting is on or off for the specified resource.
- Parameters:
value- Determines whether the account setting is on or off for the specified resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principalArn
Setting.Builder principalArn(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
type
Setting.Builder type(String type)
Indicates whether Amazon Web Services manages the account setting, or if the user manages it.
aws_managedaccount settings are read-only, as Amazon Web Services manages such on the customer's behalf. Currently, theguardDutyActivateaccount setting is the only one Amazon Web Services manages.- Parameters:
type- Indicates whether Amazon Web Services manages the account setting, or if the user manages it.aws_managedaccount settings are read-only, as Amazon Web Services manages such on the customer's behalf. Currently, theguardDutyActivateaccount setting is the only one Amazon Web Services manages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SettingType,SettingType
-
type
Setting.Builder type(SettingType type)
Indicates whether Amazon Web Services manages the account setting, or if the user manages it.
aws_managedaccount settings are read-only, as Amazon Web Services manages such on the customer's behalf. Currently, theguardDutyActivateaccount setting is the only one Amazon Web Services manages.- Parameters:
type- Indicates whether Amazon Web Services manages the account setting, or if the user manages it.aws_managedaccount settings are read-only, as Amazon Web Services manages such on the customer's behalf. Currently, theguardDutyActivateaccount setting is the only one Amazon Web Services manages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SettingType,SettingType
-
-