@Generated(value="software.amazon.awssdk:codegen") public final class WorkloadShare extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorkloadShare.Builder,WorkloadShare>
A workload share return object.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WorkloadShare.Builder |
| Modifier and Type | Method and Description |
|---|---|
static WorkloadShare.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
PermissionType |
permissionType()
Returns the value of the PermissionType property for this object.
|
String |
permissionTypeAsString()
Returns the value of the PermissionType property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends WorkloadShare.Builder> |
serializableBuilderClass() |
String |
sharedBy()
Returns the value of the SharedBy property for this object.
|
String |
sharedWith()
Returns the value of the SharedWith property for this object.
|
String |
shareId()
Returns the value of the ShareId property for this object.
|
ShareStatus |
status()
Returns the value of the Status property for this object.
|
String |
statusAsString()
Returns the value of the Status property for this object.
|
WorkloadShare.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.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String shareId()
public final String sharedBy()
public final String sharedWith()
public final PermissionType permissionType()
If the service returns an enum value that is not available in the current SDK version, permissionType
will return PermissionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from permissionTypeAsString().
PermissionTypepublic final String permissionTypeAsString()
If the service returns an enum value that is not available in the current SDK version, permissionType
will return PermissionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from permissionTypeAsString().
PermissionTypepublic final ShareStatus status()
If the service returns an enum value that is not available in the current SDK version, status will
return ShareStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ShareStatuspublic final String statusAsString()
If the service returns an enum value that is not available in the current SDK version, status will
return ShareStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ShareStatuspublic final String workloadName()
public final String workloadId()
public WorkloadShare.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WorkloadShare.Builder,WorkloadShare>public static WorkloadShare.Builder builder()
public static Class<? extends WorkloadShare.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.