@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccessMethod extends Object implements Serializable, Cloneable, StructuredPojo
Describes the type and format of extension access. Only one of CustomObjectIdentifier
or
AccessMethodType
may be provided. Providing both results in InvalidArgsException
.
Constructor and Description |
---|
AccessMethod() |
Modifier and Type | Method and Description |
---|---|
AccessMethod |
clone() |
boolean |
equals(Object obj) |
String |
getAccessMethodType()
Specifies the
AccessMethod . |
String |
getCustomObjectIdentifier()
An object identifier (OID) specifying the
AccessMethod . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessMethodType(String accessMethodType)
Specifies the
AccessMethod . |
void |
setCustomObjectIdentifier(String customObjectIdentifier)
An object identifier (OID) specifying the
AccessMethod . |
String |
toString()
Returns a string representation of this object.
|
AccessMethod |
withAccessMethodType(AccessMethodType accessMethodType)
Specifies the
AccessMethod . |
AccessMethod |
withAccessMethodType(String accessMethodType)
Specifies the
AccessMethod . |
AccessMethod |
withCustomObjectIdentifier(String customObjectIdentifier)
An object identifier (OID) specifying the
AccessMethod . |
public void setCustomObjectIdentifier(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).
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).public String getCustomObjectIdentifier()
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).
AccessMethod
. The OID must satisfy the regular
expression shown below. For more information, see NIST's definition of Object Identifier (OID).public AccessMethod withCustomObjectIdentifier(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).
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).public void setAccessMethodType(String accessMethodType)
Specifies the AccessMethod
.
accessMethodType
- Specifies the AccessMethod
.AccessMethodType
public String getAccessMethodType()
Specifies the AccessMethod
.
AccessMethod
.AccessMethodType
public AccessMethod withAccessMethodType(String accessMethodType)
Specifies the AccessMethod
.
accessMethodType
- Specifies the AccessMethod
.AccessMethodType
public AccessMethod withAccessMethodType(AccessMethodType accessMethodType)
Specifies the AccessMethod
.
accessMethodType
- Specifies the AccessMethod
.AccessMethodType
public String toString()
toString
in class Object
Object.toString()
public AccessMethod clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.