@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 a code signing 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 a code signing job.
|
String |
getDefaultValue()
The default hash algorithm that is used in a code signing 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 a code signing job.
|
void |
setDefaultValue(String defaultValue)
The default hash algorithm that is used in a code signing job.
|
String |
toString()
Returns a string representation of this object.
|
HashAlgorithmOptions |
withAllowedValues(Collection<String> allowedValues)
The set of accepted hash algorithms allowed in a code signing job.
|
HashAlgorithmOptions |
withAllowedValues(HashAlgorithm... allowedValues)
The set of accepted hash algorithms allowed in a code signing job.
|
HashAlgorithmOptions |
withAllowedValues(String... allowedValues)
The set of accepted hash algorithms allowed in a code signing job.
|
HashAlgorithmOptions |
withDefaultValue(HashAlgorithm defaultValue)
The default hash algorithm that is used in a code signing job.
|
HashAlgorithmOptions |
withDefaultValue(String defaultValue)
The default hash algorithm that is used in a code signing job.
|
public List<String> getAllowedValues()
The set of accepted hash algorithms allowed in a code signing job.
HashAlgorithmpublic void setAllowedValues(Collection<String> allowedValues)
The set of accepted hash algorithms allowed in a code signing job.
allowedValues - The set of accepted hash algorithms allowed in a code signing job.HashAlgorithmpublic HashAlgorithmOptions withAllowedValues(String... allowedValues)
The set of accepted hash algorithms allowed in a code signing 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 a code signing job.HashAlgorithmpublic HashAlgorithmOptions withAllowedValues(Collection<String> allowedValues)
The set of accepted hash algorithms allowed in a code signing job.
allowedValues - The set of accepted hash algorithms allowed in a code signing job.HashAlgorithmpublic HashAlgorithmOptions withAllowedValues(HashAlgorithm... allowedValues)
The set of accepted hash algorithms allowed in a code signing job.
allowedValues - The set of accepted hash algorithms allowed in a code signing job.HashAlgorithmpublic void setDefaultValue(String defaultValue)
The default hash algorithm that is used in a code signing job.
defaultValue - The default hash algorithm that is used in a code signing job.HashAlgorithmpublic String getDefaultValue()
The default hash algorithm that is used in a code signing job.
HashAlgorithmpublic HashAlgorithmOptions withDefaultValue(String defaultValue)
The default hash algorithm that is used in a code signing job.
defaultValue - The default hash algorithm that is used in a code signing job.HashAlgorithmpublic HashAlgorithmOptions withDefaultValue(HashAlgorithm defaultValue)
The default hash algorithm that is used in a code signing job.
defaultValue - The default hash algorithm that is used in a code signing job.HashAlgorithmpublic String toString()
toString in class ObjectObject.toString()public HashAlgorithmOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.