Interface Setting.Builder

    • 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_managed account settings are read-only, as Amazon Web Services manages such on the customer's behalf. Currently, the guardDutyActivate account 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_managed account settings are read-only, as Amazon Web Services manages such on the customer's behalf. Currently, the guardDutyActivate account 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_managed account settings are read-only, as Amazon Web Services manages such on the customer's behalf. Currently, the guardDutyActivate account 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_managed account settings are read-only, as Amazon Web Services manages such on the customer's behalf. Currently, the guardDutyActivate account 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