Class StartLifecyclePolicyPreviewResponse
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.StartLifecyclePolicyPreviewResponse
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartLifecyclePolicyPreviewResponse.Builder,StartLifecyclePolicyPreviewResponse>
@Generated("software.amazon.awssdk:codegen")
public final class StartLifecyclePolicyPreviewResponse
extends EcrResponse
implements ToCopyableBuilder<StartLifecyclePolicyPreviewResponse.Builder,StartLifecyclePolicyPreviewResponse>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe JSON repository policy text.final StringThe registry ID associated with the request.final StringThe repository name associated with the request.static Class<? extends StartLifecyclePolicyPreviewResponse.Builder>status()The status of the lifecycle policy preview request.final StringThe status of the lifecycle policy preview request.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.services.ecr.model.EcrResponse
responseMetadataMethods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponseMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
registryId
The registry ID associated with the request.
- Returns:
- The registry ID associated with the request.
-
repositoryName
The repository name associated with the request.
- Returns:
- The repository name associated with the request.
-
lifecyclePolicyText
The JSON repository policy text.
- Returns:
- The JSON repository policy text.
-
status
The status of the lifecycle policy preview request.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnLifecyclePolicyPreviewStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the lifecycle policy preview request.
- See Also:
-
statusAsString
The status of the lifecycle policy preview request.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnLifecyclePolicyPreviewStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the lifecycle policy preview request.
- See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartLifecyclePolicyPreviewResponse.Builder,StartLifecyclePolicyPreviewResponse> - Specified by:
toBuilderin classAwsResponse
-
builder
-
serializableBuilderClass
public static Class<? extends StartLifecyclePolicyPreviewResponse.Builder> serializableBuilderClass() -
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsResponse
-
equals
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-