Class UpdateSnapshotDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • freeformTags

        public UpdateSnapshotDetails.Builder freeformTags​(Map<String,​String> freeformTags)
        Free-form tags for this resource.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public UpdateSnapshotDetails.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder
      • expirationTime

        public UpdateSnapshotDetails.Builder expirationTime​(Date expirationTime)
        The UTC time when this snapshot will be deleted.

        To remove the expiration time, set this field to the minimum date-time value using Date(0).

        Example: Thu Jan 01 01:00:00 GMT 1970

        Parameters:
        expirationTime - the value to set
        Returns:
        this builder