Class GetSnapshotV2PlainArgs.Builder

  • Enclosing class:
    GetSnapshotV2PlainArgs

    public static final class GetSnapshotV2PlainArgs.Builder
    extends java.lang.Object
    • Method Detail

      • mostRecent

        public GetSnapshotV2PlainArgs.Builder mostRecent​(@Nullable
                                                         java.lang.Boolean mostRecent)
        Parameters:
        mostRecent - Pick the most recently created snapshot if there are multiple results.
        Returns:
        builder
      • name

        public GetSnapshotV2PlainArgs.Builder name​(@Nullable
                                                   java.lang.String name)
        Parameters:
        name - The name of the snapshot.
        Returns:
        builder
      • region

        public GetSnapshotV2PlainArgs.Builder region​(@Nullable
                                                     java.lang.String region)
        Parameters:
        region - The region in which to obtain the V2 Block Storage client. If omitted, the `region` argument of the provider is used.
        Returns:
        builder
      • status

        public GetSnapshotV2PlainArgs.Builder status​(@Nullable
                                                     java.lang.String status)
        Parameters:
        status - The status of the snapshot.
        Returns:
        builder
      • volumeId

        public GetSnapshotV2PlainArgs.Builder volumeId​(@Nullable
                                                       java.lang.String volumeId)
        Parameters:
        volumeId - The ID of the snapshot's volume.
        Returns:
        builder