Interface Snapshot.Builder

    • Method Detail

      • resourceARN

        Snapshot.Builder resourceARN​(String resourceARN)
        Sets the value of the ResourceARN property for this object.
        Parameters:
        resourceARN - The new value for the ResourceARN property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snapshotId

        Snapshot.Builder snapshotId​(String snapshotId)

        The ID of the snapshot.

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

        Snapshot.Builder name​(String name)

        The name of the snapshot.

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

        Snapshot.Builder volumeId​(String volumeId)

        The ID of the volume that the snapshot is of.

        Parameters:
        volumeId - The ID of the volume that the snapshot is of.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTime

        Snapshot.Builder creationTime​(Instant creationTime)
        Sets the value of the CreationTime property for this object.
        Parameters:
        creationTime - The new value for the CreationTime property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lifecycle

        Snapshot.Builder lifecycle​(String lifecycle)

        The lifecycle status of the snapshot.

        • PENDING - Amazon FSx hasn't started creating the snapshot.

        • CREATING - Amazon FSx is creating the snapshot.

        • DELETING - Amazon FSx is deleting the snapshot.

        • AVAILABLE - The snapshot is fully available.

        Parameters:
        lifecycle - The lifecycle status of the snapshot.

        • PENDING - Amazon FSx hasn't started creating the snapshot.

        • CREATING - Amazon FSx is creating the snapshot.

        • DELETING - Amazon FSx is deleting the snapshot.

        • AVAILABLE - The snapshot is fully available.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SnapshotLifecycle, SnapshotLifecycle
      • lifecycle

        Snapshot.Builder lifecycle​(SnapshotLifecycle lifecycle)

        The lifecycle status of the snapshot.

        • PENDING - Amazon FSx hasn't started creating the snapshot.

        • CREATING - Amazon FSx is creating the snapshot.

        • DELETING - Amazon FSx is deleting the snapshot.

        • AVAILABLE - The snapshot is fully available.

        Parameters:
        lifecycle - The lifecycle status of the snapshot.

        • PENDING - Amazon FSx hasn't started creating the snapshot.

        • CREATING - Amazon FSx is creating the snapshot.

        • DELETING - Amazon FSx is deleting the snapshot.

        • AVAILABLE - The snapshot is fully available.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SnapshotLifecycle, SnapshotLifecycle
      • lifecycleTransitionReason

        Snapshot.Builder lifecycleTransitionReason​(LifecycleTransitionReason lifecycleTransitionReason)
        Sets the value of the LifecycleTransitionReason property for this object.
        Parameters:
        lifecycleTransitionReason - The new value for the LifecycleTransitionReason property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Snapshot.Builder tags​(Collection<Tag> tags)
        Sets the value of the Tags property for this object.
        Parameters:
        tags - The new value for the Tags property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Snapshot.Builder tags​(Tag... tags)
        Sets the value of the Tags property for this object.
        Parameters:
        tags - The new value for the Tags property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Snapshot.Builder tags​(Consumer<Tag.Builder>... tags)
        Sets the value of the Tags property for this object. This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)
      • administrativeActions

        Snapshot.Builder administrativeActions​(Collection<AdministrativeAction> administrativeActions)

        A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system.

        Parameters:
        administrativeActions - A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • administrativeActions

        Snapshot.Builder administrativeActions​(AdministrativeAction... administrativeActions)

        A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system.

        Parameters:
        administrativeActions - A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • administrativeActions

        Snapshot.Builder administrativeActions​(Consumer<AdministrativeAction.Builder>... administrativeActions)

        A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system.

        This is a convenience method that creates an instance of the AdministrativeAction.Builder avoiding the need to create one manually via AdministrativeAction.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #administrativeActions(List).

        Parameters:
        administrativeActions - a consumer that will call methods on AdministrativeAction.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #administrativeActions(java.util.Collection)