Class GetSnapshotV2Args.Builder
- java.lang.Object
-
- com.pulumi.openstack.blockstorage.inputs.GetSnapshotV2Args.Builder
-
- Enclosing class:
- GetSnapshotV2Args
public static final class GetSnapshotV2Args.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(GetSnapshotV2Args defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetSnapshotV2Argsbuild()GetSnapshotV2Args.BuildermostRecent(com.pulumi.core.Output<java.lang.Boolean> mostRecent)GetSnapshotV2Args.BuildermostRecent(java.lang.Boolean mostRecent)GetSnapshotV2Args.Buildername(com.pulumi.core.Output<java.lang.String> name)GetSnapshotV2Args.Buildername(java.lang.String name)GetSnapshotV2Args.Builderregion(com.pulumi.core.Output<java.lang.String> region)GetSnapshotV2Args.Builderregion(java.lang.String region)GetSnapshotV2Args.Builderstatus(com.pulumi.core.Output<java.lang.String> status)GetSnapshotV2Args.Builderstatus(java.lang.String status)GetSnapshotV2Args.BuildervolumeId(com.pulumi.core.Output<java.lang.String> volumeId)GetSnapshotV2Args.BuildervolumeId(java.lang.String volumeId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GetSnapshotV2Args defaults)
-
-
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
-
build
public GetSnapshotV2Args build()
-
-