Class ListWorkloadSharesRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.wellarchitected.model.WellArchitectedRequest
-
- software.amazon.awssdk.services.wellarchitected.model.ListWorkloadSharesRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListWorkloadSharesRequest.Builder,ListWorkloadSharesRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListWorkloadSharesRequest extends WellArchitectedRequest implements ToCopyableBuilder<ListWorkloadSharesRequest.Builder,ListWorkloadSharesRequest>
Input for List Workload Share
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListWorkloadSharesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListWorkloadSharesRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of results to return for this request.StringnextToken()Returns the value of the NextToken property for this object.List<SdkField<?>>sdkFields()static Class<? extends ListWorkloadSharesRequest.Builder>serializableBuilderClass()StringsharedWithPrefix()The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the workload is shared.ShareStatusstatus()Returns the value of the Status property for this object.StringstatusAsString()Returns the value of the Status property for this object.ListWorkloadSharesRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringworkloadId()Returns the value of the WorkloadId property for this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
workloadId
public final String workloadId()
Returns the value of the WorkloadId property for this object.- Returns:
- The value of the WorkloadId property for this object.
-
sharedWithPrefix
public final String sharedWithPrefix()
The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the workload is shared.
- Returns:
- The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the workload is shared.
-
nextToken
public final String nextToken()
Returns the value of the NextToken property for this object.- Returns:
- The value of the NextToken property for this object.
-
maxResults
public final Integer maxResults()
The maximum number of results to return for this request.
- Returns:
- The maximum number of results to return for this request.
-
status
public final ShareStatus status()
Returns the value of the Status property for this object.If the service returns an enum value that is not available in the current SDK version,
statuswill returnShareStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The value of the Status property for this object.
- See Also:
ShareStatus
-
statusAsString
public final String statusAsString()
Returns the value of the Status property for this object.If the service returns an enum value that is not available in the current SDK version,
statuswill returnShareStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The value of the Status property for this object.
- See Also:
ShareStatus
-
toBuilder
public ListWorkloadSharesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListWorkloadSharesRequest.Builder,ListWorkloadSharesRequest>- Specified by:
toBuilderin classWellArchitectedRequest
-
builder
public static ListWorkloadSharesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListWorkloadSharesRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-