Class BackupSelectionsListMember

java.lang.Object
software.amazon.awssdk.services.backup.model.BackupSelectionsListMember
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<BackupSelectionsListMember.Builder,BackupSelectionsListMember>

@Generated("software.amazon.awssdk:codegen") public final class BackupSelectionsListMember extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BackupSelectionsListMember.Builder,BackupSelectionsListMember>

Contains metadata about a BackupSelection object.

See Also:
  • Method Details

    • selectionId

      public final String selectionId()

      Uniquely identifies a request to assign a set of resources to a backup plan.

      Returns:
      Uniquely identifies a request to assign a set of resources to a backup plan.
    • selectionName

      public final String selectionName()

      The display name of a resource selection document.

      Returns:
      The display name of a resource selection document.
    • backupPlanId

      public final String backupPlanId()

      Uniquely identifies a backup plan.

      Returns:
      Uniquely identifies a backup plan.
    • creationDate

      public final Instant creationDate()

      The date and time a backup plan is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

      Returns:
      The date and time a backup plan is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
    • creatorRequestId

      public final String creatorRequestId()

      A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional.

      If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.

      Returns:
      A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional.

      If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.

    • iamRoleArn

      public final String iamRoleArn()

      Specifies the IAM role Amazon Resource Name (ARN) to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.

      Returns:
      Specifies the IAM role Amazon Resource Name (ARN) to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.
    • toBuilder

      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<BackupSelectionsListMember.Builder,BackupSelectionsListMember>
      Returns:
      a builder for type T
    • builder

      public static BackupSelectionsListMember.Builder builder()
    • serializableBuilderClass

      public static Class<? extends BackupSelectionsListMember.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.