@Generated(value="software.amazon.awssdk:codegen") public final class UpdateWorkloadRequest extends WellArchitectedRequest implements ToCopyableBuilder<UpdateWorkloadRequest.Builder,UpdateWorkloadRequest>
Input to update a workload.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateWorkloadRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
accountIds()
Returns the value of the AccountIds property for this object.
|
String |
architecturalDesign()
Returns the value of the ArchitecturalDesign property for this object.
|
List<String> |
awsRegions()
Returns the value of the AwsRegions property for this object.
|
static UpdateWorkloadRequest.Builder |
builder() |
String |
description()
Returns the value of the Description property for this object.
|
WorkloadEnvironment |
environment()
Returns the value of the Environment property for this object.
|
String |
environmentAsString()
Returns the value of the Environment property for this object.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAccountIds()
Returns true if the AccountIds property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasAwsRegions()
Returns true if the AwsRegions property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasNonAwsRegions()
Returns true if the NonAwsRegions property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasPillarPriorities()
Returns true if the PillarPriorities property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
WorkloadImprovementStatus |
improvementStatus()
Returns the value of the ImprovementStatus property for this object.
|
String |
improvementStatusAsString()
Returns the value of the ImprovementStatus property for this object.
|
String |
industry()
Returns the value of the Industry property for this object.
|
String |
industryType()
Returns the value of the IndustryType property for this object.
|
Boolean |
isReviewOwnerUpdateAcknowledged()
Flag indicating whether the workload owner has acknowledged that the Review owner field is required.
|
List<String> |
nonAwsRegions()
Returns the value of the NonAwsRegions property for this object.
|
String |
notes()
Returns the value of the Notes property for this object.
|
List<String> |
pillarPriorities()
Returns the value of the PillarPriorities property for this object.
|
String |
reviewOwner()
Returns the value of the ReviewOwner property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateWorkloadRequest.Builder> |
serializableBuilderClass() |
UpdateWorkloadRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
workloadId()
Returns the value of the WorkloadId property for this object.
|
String |
workloadName()
Returns the value of the WorkloadName property for this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String workloadId()
public final String workloadName()
public final String description()
public final WorkloadEnvironment environment()
If the service returns an enum value that is not available in the current SDK version, environment will
return WorkloadEnvironment.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from environmentAsString().
WorkloadEnvironmentpublic final String environmentAsString()
If the service returns an enum value that is not available in the current SDK version, environment will
return WorkloadEnvironment.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from environmentAsString().
WorkloadEnvironmentpublic final boolean hasAccountIds()
public final List<String> accountIds()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAccountIds() to see if a value was sent in this field.
public final boolean hasAwsRegions()
public final List<String> awsRegions()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAwsRegions() to see if a value was sent in this field.
public final boolean hasNonAwsRegions()
public final List<String> nonAwsRegions()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasNonAwsRegions() to see if a value was sent in this field.
public final boolean hasPillarPriorities()
public final List<String> pillarPriorities()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPillarPriorities() to see if a value was sent in this field.
public final String architecturalDesign()
public final String reviewOwner()
public final Boolean isReviewOwnerUpdateAcknowledged()
Flag indicating whether the workload owner has acknowledged that the Review owner field is required.
If a Review owner is not added to the workload within 60 days of acknowledgement, access to the workload is restricted until an owner is added.
If a Review owner is not added to the workload within 60 days of acknowledgement, access to the workload is restricted until an owner is added.
public final String industryType()
public final String industry()
public final String notes()
public final WorkloadImprovementStatus improvementStatus()
If the service returns an enum value that is not available in the current SDK version, improvementStatus
will return WorkloadImprovementStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from improvementStatusAsString().
WorkloadImprovementStatuspublic final String improvementStatusAsString()
If the service returns an enum value that is not available in the current SDK version, improvementStatus
will return WorkloadImprovementStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from improvementStatusAsString().
WorkloadImprovementStatuspublic UpdateWorkloadRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateWorkloadRequest.Builder,UpdateWorkloadRequest>toBuilder in class WellArchitectedRequestpublic static UpdateWorkloadRequest.Builder builder()
public static Class<? extends UpdateWorkloadRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.