Class ProjectPolicy
- java.lang.Object
-
- software.amazon.awssdk.services.rekognition.model.ProjectPolicy
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ProjectPolicy.Builder,ProjectPolicy>
@Generated("software.amazon.awssdk:codegen") public final class ProjectPolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProjectPolicy.Builder,ProjectPolicy>
Describes a project policy in the response from ListProjectPolicies.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceProjectPolicy.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProjectPolicy.Builderbuilder()InstantcreationTimestamp()The Unix datetime for the creation of the project policy.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedTimestamp()The Unix datetime for when the project policy was last updated.StringpolicyDocument()The JSON document for the project policy.StringpolicyName()The name of the project policy.StringpolicyRevisionId()The revision ID of the project policy.StringprojectArn()The Amazon Resource Name (ARN) of the project to which the project policy is attached.List<SdkField<?>>sdkFields()static Class<? extends ProjectPolicy.Builder>serializableBuilderClass()ProjectPolicy.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
-
projectArn
public final String projectArn()
The Amazon Resource Name (ARN) of the project to which the project policy is attached.
- Returns:
- The Amazon Resource Name (ARN) of the project to which the project policy is attached.
-
policyName
public final String policyName()
The name of the project policy.
- Returns:
- The name of the project policy.
-
policyRevisionId
public final String policyRevisionId()
The revision ID of the project policy.
- Returns:
- The revision ID of the project policy.
-
policyDocument
public final String policyDocument()
The JSON document for the project policy.
- Returns:
- The JSON document for the project policy.
-
creationTimestamp
public final Instant creationTimestamp()
The Unix datetime for the creation of the project policy.
- Returns:
- The Unix datetime for the creation of the project policy.
-
lastUpdatedTimestamp
public final Instant lastUpdatedTimestamp()
The Unix datetime for when the project policy was last updated.
- Returns:
- The Unix datetime for when the project policy was last updated.
-
toBuilder
public ProjectPolicy.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ProjectPolicy.Builder,ProjectPolicy>
-
builder
public static ProjectPolicy.Builder builder()
-
serializableBuilderClass
public static Class<? extends ProjectPolicy.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.
-
-