Class RepositoryScanningConfigurationFailure
- java.lang.Object
-
- software.amazon.awssdk.services.ecr.model.RepositoryScanningConfigurationFailure
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<RepositoryScanningConfigurationFailure.Builder,RepositoryScanningConfigurationFailure>
@Generated("software.amazon.awssdk:codegen") public final class RepositoryScanningConfigurationFailure extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RepositoryScanningConfigurationFailure.Builder,RepositoryScanningConfigurationFailure>
The details about any failures associated with the scanning configuration of a repository.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RepositoryScanningConfigurationFailure.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RepositoryScanningConfigurationFailure.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
ScanningConfigurationFailureCode
failureCode()
The failure code.String
failureCodeAsString()
The failure code.String
failureReason()
The reason for the failure.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
repositoryName()
The name of the repository.List<SdkField<?>>
sdkFields()
static Class<? extends RepositoryScanningConfigurationFailure.Builder>
serializableBuilderClass()
RepositoryScanningConfigurationFailure.Builder
toBuilder()
String
toString()
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
-
repositoryName
public final String repositoryName()
The name of the repository.
- Returns:
- The name of the repository.
-
failureCode
public final ScanningConfigurationFailureCode failureCode()
The failure code.
If the service returns an enum value that is not available in the current SDK version,
failureCode
will returnScanningConfigurationFailureCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromfailureCodeAsString()
.- Returns:
- The failure code.
- See Also:
ScanningConfigurationFailureCode
-
failureCodeAsString
public final String failureCodeAsString()
The failure code.
If the service returns an enum value that is not available in the current SDK version,
failureCode
will returnScanningConfigurationFailureCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromfailureCodeAsString()
.- Returns:
- The failure code.
- See Also:
ScanningConfigurationFailureCode
-
failureReason
public final String failureReason()
The reason for the failure.
- Returns:
- The reason for the failure.
-
toBuilder
public RepositoryScanningConfigurationFailure.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<RepositoryScanningConfigurationFailure.Builder,RepositoryScanningConfigurationFailure>
-
builder
public static RepositoryScanningConfigurationFailure.Builder builder()
-
serializableBuilderClass
public static Class<? extends RepositoryScanningConfigurationFailure.Builder> serializableBuilderClass()
-
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.
-
-