Class WorkloadShareSummary
- java.lang.Object
-
- software.amazon.awssdk.services.wellarchitected.model.WorkloadShareSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WorkloadShareSummary.Builder,WorkloadShareSummary>
@Generated("software.amazon.awssdk:codegen") public final class WorkloadShareSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorkloadShareSummary.Builder,WorkloadShareSummary>
A workload share summary return object.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWorkloadShareSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WorkloadShareSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()PermissionTypepermissionType()Returns the value of the PermissionType property for this object.StringpermissionTypeAsString()Returns the value of the PermissionType property for this object.List<SdkField<?>>sdkFields()static Class<? extends WorkloadShareSummary.Builder>serializableBuilderClass()StringsharedWith()Returns the value of the SharedWith property for this object.StringshareId()Returns the value of the ShareId property for this object.ShareStatusstatus()Returns the value of the Status property for this object.StringstatusAsString()Returns the value of the Status property for this object.StringstatusMessage()Optional message to compliment the Status field.WorkloadShareSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
shareId
public final String shareId()
Returns the value of the ShareId property for this object.- Returns:
- The value of the ShareId property for this object.
-
sharedWith
public final String sharedWith()
Returns the value of the SharedWith property for this object.- Returns:
- The value of the SharedWith property for this object.
-
permissionType
public final PermissionType permissionType()
Returns the value of the PermissionType property for this object.If the service returns an enum value that is not available in the current SDK version,
permissionTypewill returnPermissionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompermissionTypeAsString().- Returns:
- The value of the PermissionType property for this object.
- See Also:
PermissionType
-
permissionTypeAsString
public final String permissionTypeAsString()
Returns the value of the PermissionType property for this object.If the service returns an enum value that is not available in the current SDK version,
permissionTypewill returnPermissionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompermissionTypeAsString().- Returns:
- The value of the PermissionType property for this object.
- See Also:
PermissionType
-
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
-
statusMessage
public final String statusMessage()
Optional message to compliment the Status field.
- Returns:
- Optional message to compliment the Status field.
-
toBuilder
public WorkloadShareSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WorkloadShareSummary.Builder,WorkloadShareSummary>
-
builder
public static WorkloadShareSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends WorkloadShareSummary.Builder> serializableBuilderClass()
-
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.
-
-