/** * @param clusterIdentifier * @return Returns a reference to this object so that method calls can be chained together. */ public ClusterAssociatedToSchedule withClusterIdentifier(String clusterIdentifier) { setClusterIdentifier(clusterIdentifier); return this; }
/** * @param associatedClusters * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSnapshotScheduleResult withAssociatedClusters(java.util.Collection<ClusterAssociatedToSchedule> associatedClusters) { setAssociatedClusters(associatedClusters); return this; }
/** * @param dryRun * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSnapshotScheduleRequest withDryRun(Boolean dryRun) { setDryRun(dryRun); return this; }
/** * @param reservedNodeOfferingType * @return Returns a reference to this object so that method calls can be chained together. * @see ReservedNodeOfferingType */ public ReservedNode withReservedNodeOfferingType(ReservedNodeOfferingType reservedNodeOfferingType) { this.reservedNodeOfferingType = reservedNodeOfferingType.toString(); return this; }
/** * @param dataTransferProgress * @return Returns a reference to this object so that method calls can be chained together. */ public Cluster withDataTransferProgress(DataTransferProgress dataTransferProgress) { setDataTransferProgress(dataTransferProgress); return this; }
/** * @param supportedPlatforms * @return Returns a reference to this object so that method calls can be chained together. */ public AvailabilityZone withSupportedPlatforms(java.util.Collection<SupportedPlatform> supportedPlatforms) { setSupportedPlatforms(supportedPlatforms); return this; }
/** * @param nextInvocations * @return Returns a reference to this object so that method calls can be chained together. */ public ModifySnapshotScheduleResult withNextInvocations(java.util.Collection<java.util.Date> nextInvocations) { setNextInvocations(nextInvocations); return this; }
/** * @param sortingEntities * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeClusterSnapshotsRequest withSortingEntities(java.util.Collection<SnapshotSortingEntity> sortingEntities) { setSortingEntities(sortingEntities); return this; }
/** * @param associatedClusters * @return Returns a reference to this object so that method calls can be chained together. */ public SnapshotSchedule withAssociatedClusters(java.util.Collection<ClusterAssociatedToSchedule> associatedClusters) { setAssociatedClusters(associatedClusters); return this; }
/** * <p> * The source type for this event. * </p> * * @param sourceType * The source type for this event. * @see SourceType */ public void setSourceType(SourceType sourceType) { withSourceType(sourceType); }
/** * @param associatedClusterCount * @return Returns a reference to this object so that method calls can be chained together. */ public ModifySnapshotScheduleResult withAssociatedClusterCount(Integer associatedClusterCount) { setAssociatedClusterCount(associatedClusterCount); return this; }
/** * @param manualSnapshotRetentionPeriod * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreFromClusterSnapshotRequest withManualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod) { setManualSnapshotRetentionPeriod(manualSnapshotRetentionPeriod); return this; }
/** * @param nextInvocations * @return Returns a reference to this object so that method calls can be chained together. */ public SnapshotSchedule withNextInvocations(java.util.Collection<java.util.Date> nextInvocations) { setNextInvocations(nextInvocations); return this; }
/** * @param reservedNodeOfferingType * @return Returns a reference to this object so that method calls can be chained together. * @see ReservedNodeOfferingType */ public ReservedNodeOffering withReservedNodeOfferingType(String reservedNodeOfferingType) { setReservedNodeOfferingType(reservedNodeOfferingType); return this; }
/** * @param subnetAvailabilityZone * @return Returns a reference to this object so that method calls can be chained together. */ public Subnet withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone) { setSubnetAvailabilityZone(subnetAvailabilityZone); return this; }
/** * @param associatedClusterCount * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSnapshotScheduleResult withAssociatedClusterCount(Integer associatedClusterCount) { setAssociatedClusterCount(associatedClusterCount); return this; }
/** * @param nextInvocations * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSnapshotScheduleRequest withNextInvocations(Integer nextInvocations) { setNextInvocations(nextInvocations); return this; }
/** * @param associatedClusterCount * @return Returns a reference to this object so that method calls can be chained together. */ public SnapshotSchedule withAssociatedClusterCount(Integer associatedClusterCount) { setAssociatedClusterCount(associatedClusterCount); return this; }
/** * @param nextInvocations * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSnapshotScheduleResult withNextInvocations(java.util.Collection<java.util.Date> nextInvocations) { setNextInvocations(nextInvocations); return this; }
/** * @param reservedNodeOfferingType * @return Returns a reference to this object so that method calls can be chained together. * @see ReservedNodeOfferingType */ public ReservedNodeOffering withReservedNodeOfferingType(ReservedNodeOfferingType reservedNodeOfferingType) { this.reservedNodeOfferingType = reservedNodeOfferingType.toString(); return this; }