Class BatchGetPolicyOutputItem
- java.lang.Object
-
- software.amazon.awssdk.services.verifiedpermissions.model.BatchGetPolicyOutputItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BatchGetPolicyOutputItem.Builder,BatchGetPolicyOutputItem>
@Generated("software.amazon.awssdk:codegen") public final class BatchGetPolicyOutputItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchGetPolicyOutputItem.Builder,BatchGetPolicyOutputItem>
Contains information about a policy returned from a
BatchGetPolicyAPI request.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBatchGetPolicyOutputItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BatchGetPolicyOutputItem.Builderbuilder()InstantcreatedDate()The date and time the policy was created.PolicyDefinitionDetaildefinition()The policy definition of an item in the list of policies returned.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedDate()The date and time the policy was most recently updated.StringpolicyId()The identifier of the policy you want information about.StringpolicyStoreId()The identifier of the policy store where the policy you want information about is stored.PolicyTypepolicyType()The type of the policy.StringpolicyTypeAsString()The type of the policy.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends BatchGetPolicyOutputItem.Builder>serializableBuilderClass()BatchGetPolicyOutputItem.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
-
policyStoreId
public final String policyStoreId()
The identifier of the policy store where the policy you want information about is stored.
- Returns:
- The identifier of the policy store where the policy you want information about is stored.
-
policyId
public final String policyId()
The identifier of the policy you want information about.
- Returns:
- The identifier of the policy you want information about.
-
policyType
public final PolicyType policyType()
The type of the policy. This is one of the following values:
-
STATIC -
TEMPLATE_LINKED
If the service returns an enum value that is not available in the current SDK version,
policyTypewill returnPolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompolicyTypeAsString().- Returns:
- The type of the policy. This is one of the following values:
-
STATIC -
TEMPLATE_LINKED
-
- See Also:
PolicyType
-
-
policyTypeAsString
public final String policyTypeAsString()
The type of the policy. This is one of the following values:
-
STATIC -
TEMPLATE_LINKED
If the service returns an enum value that is not available in the current SDK version,
policyTypewill returnPolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompolicyTypeAsString().- Returns:
- The type of the policy. This is one of the following values:
-
STATIC -
TEMPLATE_LINKED
-
- See Also:
PolicyType
-
-
definition
public final PolicyDefinitionDetail definition()
The policy definition of an item in the list of policies returned.
- Returns:
- The policy definition of an item in the list of policies returned.
-
createdDate
public final Instant createdDate()
The date and time the policy was created.
- Returns:
- The date and time the policy was created.
-
lastUpdatedDate
public final Instant lastUpdatedDate()
The date and time the policy was most recently updated.
- Returns:
- The date and time the policy was most recently updated.
-
toBuilder
public BatchGetPolicyOutputItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BatchGetPolicyOutputItem.Builder,BatchGetPolicyOutputItem>
-
builder
public static BatchGetPolicyOutputItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends BatchGetPolicyOutputItem.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-