Class GetRepositoryPolicyResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.ecrpublic.model.EcrPublicResponse
-
- software.amazon.awssdk.services.ecrpublic.model.GetRepositoryPolicyResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetRepositoryPolicyResponse.Builder,GetRepositoryPolicyResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetRepositoryPolicyResponse extends EcrPublicResponse implements ToCopyableBuilder<GetRepositoryPolicyResponse.Builder,GetRepositoryPolicyResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetRepositoryPolicyResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetRepositoryPolicyResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringpolicyText()The repository policy text that's associated with the repository.StringregistryId()The registry ID that's associated with the request.StringrepositoryName()The repository name that's associated with the request.List<SdkField<?>>sdkFields()static Class<? extends GetRepositoryPolicyResponse.Builder>serializableBuilderClass()GetRepositoryPolicyResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.ecrpublic.model.EcrPublicResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
registryId
public final String registryId()
The registry ID that's associated with the request.
- Returns:
- The registry ID that's associated with the request.
-
repositoryName
public final String repositoryName()
The repository name that's associated with the request.
- Returns:
- The repository name that's associated with the request.
-
policyText
public final String policyText()
The repository policy text that's associated with the repository. The policy text will be in JSON format.
- Returns:
- The repository policy text that's associated with the repository. The policy text will be in JSON format.
-
toBuilder
public GetRepositoryPolicyResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetRepositoryPolicyResponse.Builder,GetRepositoryPolicyResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetRepositoryPolicyResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetRepositoryPolicyResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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 classSdkResponse
-
-