Interface ImageMetadata.Builder

  • Method Details

    • imageId

      ImageMetadata.Builder imageId(String imageId)

      The ID of the AMI.

      Parameters:
      imageId - The ID of the AMI.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the AMI.

      Parameters:
      name - The name of the AMI.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ownerId

      ImageMetadata.Builder ownerId(String ownerId)

      The ID of the Amazon Web Services account that owns the AMI.

      Parameters:
      ownerId - The ID of the Amazon Web Services account that owns the AMI.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The current state of the AMI. If the state is available, the AMI is successfully registered and can be used to launch an instance.

      Parameters:
      state - The current state of the AMI. If the state is available, the AMI is successfully registered and can be used to launch an instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The current state of the AMI. If the state is available, the AMI is successfully registered and can be used to launch an instance.

      Parameters:
      state - The current state of the AMI. If the state is available, the AMI is successfully registered and can be used to launch an instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • imageOwnerAlias

      ImageMetadata.Builder imageOwnerAlias(String imageOwnerAlias)

      The alias of the AMI owner.

      Valid values: amazon | aws-backup-vault | aws-marketplace

      Parameters:
      imageOwnerAlias - The alias of the AMI owner.

      Valid values: amazon | aws-backup-vault | aws-marketplace

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationDate

      ImageMetadata.Builder creationDate(String creationDate)

      The date and time the AMI was created.

      Parameters:
      creationDate - The date and time the AMI was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deprecationTime

      ImageMetadata.Builder deprecationTime(String deprecationTime)

      The deprecation date and time of the AMI, in UTC, in the following format: YYYY-MM-DDTHH:MM:SSZ.

      Parameters:
      deprecationTime - The deprecation date and time of the AMI, in UTC, in the following format: YYYY-MM-DDTHH:MM:SSZ.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isPublic

      ImageMetadata.Builder isPublic(Boolean isPublic)

      Indicates whether the AMI has public launch permissions. A value of true means this AMI has public launch permissions, while false means it has only implicit (AMI owner) or explicit (shared with your account) launch permissions.

      Parameters:
      isPublic - Indicates whether the AMI has public launch permissions. A value of true means this AMI has public launch permissions, while false means it has only implicit (AMI owner) or explicit (shared with your account) launch permissions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.