@Generated(value="software.amazon.awssdk:codegen") public final class DescribeDocumentPermissionRequest extends SsmRequest implements ToCopyableBuilder<DescribeDocumentPermissionRequest.Builder,DescribeDocumentPermissionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeDocumentPermissionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeDocumentPermissionRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the document for which you are the owner.
|
DocumentPermissionType |
permissionType()
The permission type for the document.
|
String |
permissionTypeAsString()
The permission type for the document.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeDocumentPermissionRequest.Builder> |
serializableBuilderClass() |
DescribeDocumentPermissionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the document for which you are the owner.
public final DocumentPermissionType permissionType()
The permission type for the document. The permission type can be Share.
If the service returns an enum value that is not available in the current SDK version, permissionType
will return DocumentPermissionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from permissionTypeAsString().
DocumentPermissionTypepublic final String permissionTypeAsString()
The permission type for the document. The permission type can be Share.
If the service returns an enum value that is not available in the current SDK version, permissionType
will return DocumentPermissionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from permissionTypeAsString().
DocumentPermissionTypepublic DescribeDocumentPermissionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeDocumentPermissionRequest.Builder,DescribeDocumentPermissionRequest>toBuilder in class SsmRequestpublic static DescribeDocumentPermissionRequest.Builder builder()
public static Class<? extends DescribeDocumentPermissionRequest.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.