Class GetSnapshotV2Args.Builder

  • Enclosing class:
    GetSnapshotV2Args

    public static final class GetSnapshotV2Args.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • mostRecent

        public GetSnapshotV2Args.Builder mostRecent​(@Nullable
                                                    com.pulumi.core.Output<java.lang.Boolean> mostRecent)
        Parameters:
        mostRecent - Pick the most recently created snapshot if there are multiple results.
        Returns:
        builder
      • mostRecent

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

        public GetSnapshotV2Args.Builder name​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the snapshot.
        Returns:
        builder
      • name

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

        public GetSnapshotV2Args.Builder region​(@Nullable
                                                com.pulumi.core.Output<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
      • region

        public GetSnapshotV2Args.Builder region​(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 GetSnapshotV2Args.Builder status​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        status - The status of the snapshot.
        Returns:
        builder
      • status

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

        public GetSnapshotV2Args.Builder volumeId​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> volumeId)
        Parameters:
        volumeId - The ID of the snapshot's volume.
        Returns:
        builder
      • volumeId

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