Class ListSnapshotsOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public ListSnapshotsOptions build()
        Builds a ListSnapshotsOptions.
        Returns:
        the new ListSnapshotsOptions instance
      • limit

        public ListSnapshotsOptions.Builder limit​(long limit)
        Set the limit.
        Parameters:
        limit - the limit
        Returns:
        the ListSnapshotsOptions builder
      • resourceGroupId

        public ListSnapshotsOptions.Builder resourceGroupId​(String resourceGroupId)
        Set the resourceGroupId.
        Parameters:
        resourceGroupId - the resourceGroupId
        Returns:
        the ListSnapshotsOptions builder
      • sourceVolumeId

        public ListSnapshotsOptions.Builder sourceVolumeId​(String sourceVolumeId)
        Set the sourceVolumeId.
        Parameters:
        sourceVolumeId - the sourceVolumeId
        Returns:
        the ListSnapshotsOptions builder
      • sourceVolumeCrn

        public ListSnapshotsOptions.Builder sourceVolumeCrn​(String sourceVolumeCrn)
        Set the sourceVolumeCrn.
        Parameters:
        sourceVolumeCrn - the sourceVolumeCrn
        Returns:
        the ListSnapshotsOptions builder
      • sourceImageId

        public ListSnapshotsOptions.Builder sourceImageId​(String sourceImageId)
        Set the sourceImageId.
        Parameters:
        sourceImageId - the sourceImageId
        Returns:
        the ListSnapshotsOptions builder
      • sourceImageCrn

        public ListSnapshotsOptions.Builder sourceImageCrn​(String sourceImageCrn)
        Set the sourceImageCrn.
        Parameters:
        sourceImageCrn - the sourceImageCrn
        Returns:
        the ListSnapshotsOptions builder
      • backupPolicyPlanId

        public ListSnapshotsOptions.Builder backupPolicyPlanId​(String backupPolicyPlanId)
        Set the backupPolicyPlanId.
        Parameters:
        backupPolicyPlanId - the backupPolicyPlanId
        Returns:
        the ListSnapshotsOptions builder
      • copiesId

        public ListSnapshotsOptions.Builder copiesId​(String copiesId)
        Set the copiesId.
        Parameters:
        copiesId - the copiesId
        Returns:
        the ListSnapshotsOptions builder
      • copiesName

        public ListSnapshotsOptions.Builder copiesName​(String copiesName)
        Set the copiesName.
        Parameters:
        copiesName - the copiesName
        Returns:
        the ListSnapshotsOptions builder
      • copiesCrn

        public ListSnapshotsOptions.Builder copiesCrn​(String copiesCrn)
        Set the copiesCrn.
        Parameters:
        copiesCrn - the copiesCrn
        Returns:
        the ListSnapshotsOptions builder
      • copiesRemoteRegionName

        public ListSnapshotsOptions.Builder copiesRemoteRegionName​(String copiesRemoteRegionName)
        Set the copiesRemoteRegionName.
        Parameters:
        copiesRemoteRegionName - the copiesRemoteRegionName
        Returns:
        the ListSnapshotsOptions builder
      • sourceSnapshotId

        public ListSnapshotsOptions.Builder sourceSnapshotId​(String sourceSnapshotId)
        Set the sourceSnapshotId.
        Parameters:
        sourceSnapshotId - the sourceSnapshotId
        Returns:
        the ListSnapshotsOptions builder
      • sourceSnapshotRemoteRegionName

        public ListSnapshotsOptions.Builder sourceSnapshotRemoteRegionName​(String sourceSnapshotRemoteRegionName)
        Set the sourceSnapshotRemoteRegionName.
        Parameters:
        sourceSnapshotRemoteRegionName - the sourceSnapshotRemoteRegionName
        Returns:
        the ListSnapshotsOptions builder
      • sourceVolumeRemoteRegionName

        public ListSnapshotsOptions.Builder sourceVolumeRemoteRegionName​(String sourceVolumeRemoteRegionName)
        Set the sourceVolumeRemoteRegionName.
        Parameters:
        sourceVolumeRemoteRegionName - the sourceVolumeRemoteRegionName
        Returns:
        the ListSnapshotsOptions builder
      • sourceImageRemoteRegionName

        public ListSnapshotsOptions.Builder sourceImageRemoteRegionName​(String sourceImageRemoteRegionName)
        Set the sourceImageRemoteRegionName.
        Parameters:
        sourceImageRemoteRegionName - the sourceImageRemoteRegionName
        Returns:
        the ListSnapshotsOptions builder
      • clonesZoneName

        public ListSnapshotsOptions.Builder clonesZoneName​(String clonesZoneName)
        Set the clonesZoneName.
        Parameters:
        clonesZoneName - the clonesZoneName
        Returns:
        the ListSnapshotsOptions builder
      • snapshotConsistencyGroupId

        public ListSnapshotsOptions.Builder snapshotConsistencyGroupId​(String snapshotConsistencyGroupId)
        Set the snapshotConsistencyGroupId.
        Parameters:
        snapshotConsistencyGroupId - the snapshotConsistencyGroupId
        Returns:
        the ListSnapshotsOptions builder
      • snapshotConsistencyGroupCrn

        public ListSnapshotsOptions.Builder snapshotConsistencyGroupCrn​(String snapshotConsistencyGroupCrn)
        Set the snapshotConsistencyGroupCrn.
        Parameters:
        snapshotConsistencyGroupCrn - the snapshotConsistencyGroupCrn
        Returns:
        the ListSnapshotsOptions builder