@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateComponentTypeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateComponentTypeRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateComponentTypeRequest |
addFunctionsEntry(String key,
FunctionRequest value)
Add a single Functions entry
|
CreateComponentTypeRequest |
addPropertyDefinitionsEntry(String key,
PropertyDefinitionRequest value)
Add a single PropertyDefinitions entry
|
CreateComponentTypeRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateComponentTypeRequest |
clearFunctionsEntries()
Removes all the entries added into Functions.
|
CreateComponentTypeRequest |
clearPropertyDefinitionsEntries()
Removes all the entries added into PropertyDefinitions.
|
CreateComponentTypeRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateComponentTypeRequest |
clone() |
boolean |
equals(Object obj) |
String |
getComponentTypeId()
The ID of the component type.
|
String |
getDescription()
The description of the component type.
|
List<String> |
getExtendsFrom()
Specifies the parent component type to extend.
|
Map<String,FunctionRequest> |
getFunctions()
An object that maps strings to the functions in the component type.
|
Boolean |
getIsSingleton()
A Boolean value that specifies whether an entity can have more than one component of this type.
|
Map<String,PropertyDefinitionRequest> |
getPropertyDefinitions()
An object that maps strings to the property definitions in the component type.
|
Map<String,String> |
getTags()
Metadata that you can use to manage the component type.
|
String |
getWorkspaceId()
The ID of the workspace that contains the component type.
|
int |
hashCode() |
Boolean |
isSingleton()
A Boolean value that specifies whether an entity can have more than one component of this type.
|
void |
setComponentTypeId(String componentTypeId)
The ID of the component type.
|
void |
setDescription(String description)
The description of the component type.
|
void |
setExtendsFrom(Collection<String> extendsFrom)
Specifies the parent component type to extend.
|
void |
setFunctions(Map<String,FunctionRequest> functions)
An object that maps strings to the functions in the component type.
|
void |
setIsSingleton(Boolean isSingleton)
A Boolean value that specifies whether an entity can have more than one component of this type.
|
void |
setPropertyDefinitions(Map<String,PropertyDefinitionRequest> propertyDefinitions)
An object that maps strings to the property definitions in the component type.
|
void |
setTags(Map<String,String> tags)
Metadata that you can use to manage the component type.
|
void |
setWorkspaceId(String workspaceId)
The ID of the workspace that contains the component type.
|
String |
toString()
Returns a string representation of this object.
|
CreateComponentTypeRequest |
withComponentTypeId(String componentTypeId)
The ID of the component type.
|
CreateComponentTypeRequest |
withDescription(String description)
The description of the component type.
|
CreateComponentTypeRequest |
withExtendsFrom(Collection<String> extendsFrom)
Specifies the parent component type to extend.
|
CreateComponentTypeRequest |
withExtendsFrom(String... extendsFrom)
Specifies the parent component type to extend.
|
CreateComponentTypeRequest |
withFunctions(Map<String,FunctionRequest> functions)
An object that maps strings to the functions in the component type.
|
CreateComponentTypeRequest |
withIsSingleton(Boolean isSingleton)
A Boolean value that specifies whether an entity can have more than one component of this type.
|
CreateComponentTypeRequest |
withPropertyDefinitions(Map<String,PropertyDefinitionRequest> propertyDefinitions)
An object that maps strings to the property definitions in the component type.
|
CreateComponentTypeRequest |
withTags(Map<String,String> tags)
Metadata that you can use to manage the component type.
|
CreateComponentTypeRequest |
withWorkspaceId(String workspaceId)
The ID of the workspace that contains the component type.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setComponentTypeId(String componentTypeId)
The ID of the component type.
componentTypeId - The ID of the component type.public String getComponentTypeId()
The ID of the component type.
public CreateComponentTypeRequest withComponentTypeId(String componentTypeId)
The ID of the component type.
componentTypeId - The ID of the component type.public void setDescription(String description)
The description of the component type.
description - The description of the component type.public String getDescription()
The description of the component type.
public CreateComponentTypeRequest withDescription(String description)
The description of the component type.
description - The description of the component type.public List<String> getExtendsFrom()
Specifies the parent component type to extend.
public void setExtendsFrom(Collection<String> extendsFrom)
Specifies the parent component type to extend.
extendsFrom - Specifies the parent component type to extend.public CreateComponentTypeRequest withExtendsFrom(String... extendsFrom)
Specifies the parent component type to extend.
NOTE: This method appends the values to the existing list (if any). Use
setExtendsFrom(java.util.Collection) or withExtendsFrom(java.util.Collection) if you want to
override the existing values.
extendsFrom - Specifies the parent component type to extend.public CreateComponentTypeRequest withExtendsFrom(Collection<String> extendsFrom)
Specifies the parent component type to extend.
extendsFrom - Specifies the parent component type to extend.public Map<String,FunctionRequest> getFunctions()
An object that maps strings to the functions in the component type. Each string in the mapping must be unique to this object.
public void setFunctions(Map<String,FunctionRequest> functions)
An object that maps strings to the functions in the component type. Each string in the mapping must be unique to this object.
functions - An object that maps strings to the functions in the component type. Each string in the mapping must be
unique to this object.public CreateComponentTypeRequest withFunctions(Map<String,FunctionRequest> functions)
An object that maps strings to the functions in the component type. Each string in the mapping must be unique to this object.
functions - An object that maps strings to the functions in the component type. Each string in the mapping must be
unique to this object.public CreateComponentTypeRequest addFunctionsEntry(String key, FunctionRequest value)
public CreateComponentTypeRequest clearFunctionsEntries()
public void setIsSingleton(Boolean isSingleton)
A Boolean value that specifies whether an entity can have more than one component of this type.
isSingleton - A Boolean value that specifies whether an entity can have more than one component of this type.public Boolean getIsSingleton()
A Boolean value that specifies whether an entity can have more than one component of this type.
public CreateComponentTypeRequest withIsSingleton(Boolean isSingleton)
A Boolean value that specifies whether an entity can have more than one component of this type.
isSingleton - A Boolean value that specifies whether an entity can have more than one component of this type.public Boolean isSingleton()
A Boolean value that specifies whether an entity can have more than one component of this type.
public Map<String,PropertyDefinitionRequest> getPropertyDefinitions()
An object that maps strings to the property definitions in the component type. Each string in the mapping must be unique to this object.
public void setPropertyDefinitions(Map<String,PropertyDefinitionRequest> propertyDefinitions)
An object that maps strings to the property definitions in the component type. Each string in the mapping must be unique to this object.
propertyDefinitions - An object that maps strings to the property definitions in the component type. Each string in the mapping
must be unique to this object.public CreateComponentTypeRequest withPropertyDefinitions(Map<String,PropertyDefinitionRequest> propertyDefinitions)
An object that maps strings to the property definitions in the component type. Each string in the mapping must be unique to this object.
propertyDefinitions - An object that maps strings to the property definitions in the component type. Each string in the mapping
must be unique to this object.public CreateComponentTypeRequest addPropertyDefinitionsEntry(String key, PropertyDefinitionRequest value)
public CreateComponentTypeRequest clearPropertyDefinitionsEntries()
public Map<String,String> getTags()
Metadata that you can use to manage the component type.
public void setTags(Map<String,String> tags)
Metadata that you can use to manage the component type.
tags - Metadata that you can use to manage the component type.public CreateComponentTypeRequest withTags(Map<String,String> tags)
Metadata that you can use to manage the component type.
tags - Metadata that you can use to manage the component type.public CreateComponentTypeRequest addTagsEntry(String key, String value)
public CreateComponentTypeRequest clearTagsEntries()
public void setWorkspaceId(String workspaceId)
The ID of the workspace that contains the component type.
workspaceId - The ID of the workspace that contains the component type.public String getWorkspaceId()
The ID of the workspace that contains the component type.
public CreateComponentTypeRequest withWorkspaceId(String workspaceId)
The ID of the workspace that contains the component type.
workspaceId - The ID of the workspace that contains the component type.public String toString()
toString in class ObjectObject.toString()public CreateComponentTypeRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.