@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Source extends Object implements Serializable, Cloneable, StructuredPojo
The trust anchor type and its related certificate data.
Constructor and Description |
---|
Source() |
Modifier and Type | Method and Description |
---|---|
Source |
clone() |
boolean |
equals(Object obj) |
SourceData |
getSourceData()
The data field of the trust anchor depending on its type.
|
String |
getSourceType()
The type of the trust anchor.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSourceData(SourceData sourceData)
The data field of the trust anchor depending on its type.
|
void |
setSourceType(String sourceType)
The type of the trust anchor.
|
String |
toString()
Returns a string representation of this object.
|
Source |
withSourceData(SourceData sourceData)
The data field of the trust anchor depending on its type.
|
Source |
withSourceType(String sourceType)
The type of the trust anchor.
|
Source |
withSourceType(TrustAnchorType sourceType)
The type of the trust anchor.
|
public void setSourceData(SourceData sourceData)
The data field of the trust anchor depending on its type.
sourceData
- The data field of the trust anchor depending on its type.public SourceData getSourceData()
The data field of the trust anchor depending on its type.
public Source withSourceData(SourceData sourceData)
The data field of the trust anchor depending on its type.
sourceData
- The data field of the trust anchor depending on its type.public void setSourceType(String sourceType)
The type of the trust anchor.
sourceType
- The type of the trust anchor.TrustAnchorType
public String getSourceType()
The type of the trust anchor.
TrustAnchorType
public Source withSourceType(String sourceType)
The type of the trust anchor.
sourceType
- The type of the trust anchor.TrustAnchorType
public Source withSourceType(TrustAnchorType sourceType)
The type of the trust anchor.
sourceType
- The type of the trust anchor.TrustAnchorType
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.