@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HashAlgorithmOptions extends Object implements Serializable, Cloneable, StructuredPojo
The hash algorithms that are available to an AWS Signer job.
Constructor and Description |
---|
HashAlgorithmOptions() |
Modifier and Type | Method and Description |
---|---|
HashAlgorithmOptions |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAllowedValues()
The set of accepted hash algorithms allowed in an AWS Signer job.
|
String |
getDefaultValue()
The default hash algorithm that is used in an AWS Signer job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowedValues(Collection<String> allowedValues)
The set of accepted hash algorithms allowed in an AWS Signer job.
|
void |
setDefaultValue(String defaultValue)
The default hash algorithm that is used in an AWS Signer job.
|
String |
toString()
Returns a string representation of this object.
|
HashAlgorithmOptions |
withAllowedValues(Collection<String> allowedValues)
The set of accepted hash algorithms allowed in an AWS Signer job.
|
HashAlgorithmOptions |
withAllowedValues(HashAlgorithm... allowedValues)
The set of accepted hash algorithms allowed in an AWS Signer job.
|
HashAlgorithmOptions |
withAllowedValues(String... allowedValues)
The set of accepted hash algorithms allowed in an AWS Signer job.
|
HashAlgorithmOptions |
withDefaultValue(HashAlgorithm defaultValue)
The default hash algorithm that is used in an AWS Signer job.
|
HashAlgorithmOptions |
withDefaultValue(String defaultValue)
The default hash algorithm that is used in an AWS Signer job.
|
public List<String> getAllowedValues()
The set of accepted hash algorithms allowed in an AWS Signer job.
HashAlgorithm
public void setAllowedValues(Collection<String> allowedValues)
The set of accepted hash algorithms allowed in an AWS Signer job.
allowedValues
- The set of accepted hash algorithms allowed in an AWS Signer job.HashAlgorithm
public HashAlgorithmOptions withAllowedValues(String... allowedValues)
The set of accepted hash algorithms allowed in an AWS Signer job.
NOTE: This method appends the values to the existing list (if any). Use
setAllowedValues(java.util.Collection)
or withAllowedValues(java.util.Collection)
if you want
to override the existing values.
allowedValues
- The set of accepted hash algorithms allowed in an AWS Signer job.HashAlgorithm
public HashAlgorithmOptions withAllowedValues(Collection<String> allowedValues)
The set of accepted hash algorithms allowed in an AWS Signer job.
allowedValues
- The set of accepted hash algorithms allowed in an AWS Signer job.HashAlgorithm
public HashAlgorithmOptions withAllowedValues(HashAlgorithm... allowedValues)
The set of accepted hash algorithms allowed in an AWS Signer job.
allowedValues
- The set of accepted hash algorithms allowed in an AWS Signer job.HashAlgorithm
public void setDefaultValue(String defaultValue)
The default hash algorithm that is used in an AWS Signer job.
defaultValue
- The default hash algorithm that is used in an AWS Signer job.HashAlgorithm
public String getDefaultValue()
The default hash algorithm that is used in an AWS Signer job.
HashAlgorithm
public HashAlgorithmOptions withDefaultValue(String defaultValue)
The default hash algorithm that is used in an AWS Signer job.
defaultValue
- The default hash algorithm that is used in an AWS Signer job.HashAlgorithm
public HashAlgorithmOptions withDefaultValue(HashAlgorithm defaultValue)
The default hash algorithm that is used in an AWS Signer job.
defaultValue
- The default hash algorithm that is used in an AWS Signer job.HashAlgorithm
public String toString()
toString
in class Object
Object.toString()
public HashAlgorithmOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.