@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AdditionalResources extends Object implements Serializable, Cloneable, StructuredPojo
The choice level additional resources for a custom lens.
This field does not apply to Amazon Web Services official lenses.
| Constructor and Description |
|---|
AdditionalResources() |
| Modifier and Type | Method and Description |
|---|---|
AdditionalResources |
clone() |
boolean |
equals(Object obj) |
List<ChoiceContent> |
getContent()
The URLs for additional resources, either helpful resources or improvement plans, for a custom lens.
|
String |
getType()
Type of additional resource for a custom lens.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setContent(Collection<ChoiceContent> content)
The URLs for additional resources, either helpful resources or improvement plans, for a custom lens.
|
void |
setType(String type)
Type of additional resource for a custom lens.
|
String |
toString()
Returns a string representation of this object.
|
AdditionalResources |
withContent(ChoiceContent... content)
The URLs for additional resources, either helpful resources or improvement plans, for a custom lens.
|
AdditionalResources |
withContent(Collection<ChoiceContent> content)
The URLs for additional resources, either helpful resources or improvement plans, for a custom lens.
|
AdditionalResources |
withType(AdditionalResourceType type)
Type of additional resource for a custom lens.
|
AdditionalResources |
withType(String type)
Type of additional resource for a custom lens.
|
public void setType(String type)
Type of additional resource for a custom lens.
type - Type of additional resource for a custom lens.AdditionalResourceTypepublic String getType()
Type of additional resource for a custom lens.
AdditionalResourceTypepublic AdditionalResources withType(String type)
Type of additional resource for a custom lens.
type - Type of additional resource for a custom lens.AdditionalResourceTypepublic AdditionalResources withType(AdditionalResourceType type)
Type of additional resource for a custom lens.
type - Type of additional resource for a custom lens.AdditionalResourceTypepublic List<ChoiceContent> getContent()
The URLs for additional resources, either helpful resources or improvement plans, for a custom lens. Up to five additional URLs can be specified.
public void setContent(Collection<ChoiceContent> content)
The URLs for additional resources, either helpful resources or improvement plans, for a custom lens. Up to five additional URLs can be specified.
content - The URLs for additional resources, either helpful resources or improvement plans, for a custom lens. Up to
five additional URLs can be specified.public AdditionalResources withContent(ChoiceContent... content)
The URLs for additional resources, either helpful resources or improvement plans, for a custom lens. Up to five additional URLs can be specified.
NOTE: This method appends the values to the existing list (if any). Use
setContent(java.util.Collection) or withContent(java.util.Collection) if you want to override
the existing values.
content - The URLs for additional resources, either helpful resources or improvement plans, for a custom lens. Up to
five additional URLs can be specified.public AdditionalResources withContent(Collection<ChoiceContent> content)
The URLs for additional resources, either helpful resources or improvement plans, for a custom lens. Up to five additional URLs can be specified.
content - The URLs for additional resources, either helpful resources or improvement plans, for a custom lens. Up to
five additional URLs can be specified.public String toString()
toString in class ObjectObject.toString()public AdditionalResources clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.