Class DescribeDocumentPermissionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.ssm.model.SsmRequest
-
- software.amazon.awssdk.services.ssm.model.DescribeDocumentPermissionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeDocumentPermissionRequest.Builder,DescribeDocumentPermissionRequest>
@Generated("software.amazon.awssdk:codegen") public final class DescribeDocumentPermissionRequest extends SsmRequest implements ToCopyableBuilder<DescribeDocumentPermissionRequest.Builder,DescribeDocumentPermissionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeDocumentPermissionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeDocumentPermissionRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of items to return for this call.Stringname()The name of the document for which you are the owner.StringnextToken()The token for the next set of items to return.DocumentPermissionTypepermissionType()The permission type for the document.StringpermissionTypeAsString()The permission type for the document.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DescribeDocumentPermissionRequest.Builder>serializableBuilderClass()DescribeDocumentPermissionRequest.BuildertoBuilder()StringtoString()Returns a string representation of 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
-
name
public final String name()
The name of the document for which you are the owner.
- Returns:
- The name of the document for which you are the owner.
-
permissionType
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,
permissionTypewill returnDocumentPermissionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompermissionTypeAsString().- Returns:
- The permission type for the document. The permission type can be Share.
- See Also:
DocumentPermissionType
-
permissionTypeAsString
public 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,
permissionTypewill returnDocumentPermissionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompermissionTypeAsString().- Returns:
- The permission type for the document. The permission type can be Share.
- See Also:
DocumentPermissionType
-
maxResults
public final Integer maxResults()
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
- Returns:
- The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
-
nextToken
public final String nextToken()
The token for the next set of items to return. (You received this token from a previous call.)
- Returns:
- The token for the next set of items to return. (You received this token from a previous call.)
-
toBuilder
public DescribeDocumentPermissionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeDocumentPermissionRequest.Builder,DescribeDocumentPermissionRequest>- Specified by:
toBuilderin classSsmRequest
-
builder
public static DescribeDocumentPermissionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeDocumentPermissionRequest.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-