Class GetRepositoryPolicyResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.ecr.model.EcrResponse
-
- software.amazon.awssdk.services.ecr.model.GetRepositoryPolicyResponse
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<GetRepositoryPolicyResponse.Builder,GetRepositoryPolicyResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetRepositoryPolicyResponse extends EcrResponse implements ToCopyableBuilder<GetRepositoryPolicyResponse.Builder,GetRepositoryPolicyResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GetRepositoryPolicyResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetRepositoryPolicyResponse.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
policyText()
The JSON repository policy text associated with the repository.String
registryId()
The registry ID associated with the request.String
repositoryName()
The repository name associated with the request.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends GetRepositoryPolicyResponse.Builder>
serializableBuilderClass()
GetRepositoryPolicyResponse.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.ecr.model.EcrResponse
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 associated with the request.
- Returns:
- The registry ID associated with the request.
-
repositoryName
public final String repositoryName()
The repository name associated with the request.
- Returns:
- The repository name associated with the request.
-
policyText
public final String policyText()
The JSON repository policy text associated with the repository.
- Returns:
- The JSON repository policy text associated with the repository.
-
toBuilder
public GetRepositoryPolicyResponse.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<GetRepositoryPolicyResponse.Builder,GetRepositoryPolicyResponse>
- Specified by:
toBuilder
in classAwsResponse
-
builder
public static GetRepositoryPolicyResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetRepositoryPolicyResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-