Class AccessMethod
- java.lang.Object
-
- software.amazon.awssdk.services.acmpca.model.AccessMethod
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AccessMethod.Builder,AccessMethod>
@Generated("software.amazon.awssdk:codegen") public final class AccessMethod extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AccessMethod.Builder,AccessMethod>
Describes the type and format of extension access. Only one of
CustomObjectIdentifierorAccessMethodTypemay be provided. Providing both results inInvalidArgsException.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAccessMethod.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessMethodTypeaccessMethodType()Specifies theAccessMethod.StringaccessMethodTypeAsString()Specifies theAccessMethod.static AccessMethod.Builderbuilder()StringcustomObjectIdentifier()An object identifier (OID) specifying theAccessMethod.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AccessMethod.Builder>serializableBuilderClass()AccessMethod.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
-
customObjectIdentifier
public final String customObjectIdentifier()
An object identifier (OID) specifying the
AccessMethod. The OID must satisfy the regular expression shown below. For more information, see NIST's definition of Object Identifier (OID).- Returns:
- An object identifier (OID) specifying the
AccessMethod. The OID must satisfy the regular expression shown below. For more information, see NIST's definition of Object Identifier (OID).
-
accessMethodType
public final AccessMethodType accessMethodType()
Specifies the
AccessMethod.If the service returns an enum value that is not available in the current SDK version,
accessMethodTypewill returnAccessMethodType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaccessMethodTypeAsString().- Returns:
- Specifies the
AccessMethod. - See Also:
AccessMethodType
-
accessMethodTypeAsString
public final String accessMethodTypeAsString()
Specifies the
AccessMethod.If the service returns an enum value that is not available in the current SDK version,
accessMethodTypewill returnAccessMethodType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaccessMethodTypeAsString().- Returns:
- Specifies the
AccessMethod. - See Also:
AccessMethodType
-
toBuilder
public AccessMethod.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AccessMethod.Builder,AccessMethod>
-
builder
public static AccessMethod.Builder builder()
-
serializableBuilderClass
public static Class<? extends AccessMethod.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-