@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateFacetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateFacetRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateFacetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<FacetAttributeUpdate> |
getAttributeUpdates()
List of attributes that need to be updated in a given schema Facet.
|
String |
getName()
The name of the facet.
|
String |
getObjectType()
The object type that is associated with the facet.
|
String |
getSchemaArn()
The Amazon Resource Name (ARN) that is associated with the Facet.
|
int |
hashCode() |
void |
setAttributeUpdates(Collection<FacetAttributeUpdate> attributeUpdates)
List of attributes that need to be updated in a given schema Facet.
|
void |
setName(String name)
The name of the facet.
|
void |
setObjectType(ObjectType objectType)
The object type that is associated with the facet.
|
void |
setObjectType(String objectType)
The object type that is associated with the facet.
|
void |
setSchemaArn(String schemaArn)
The Amazon Resource Name (ARN) that is associated with the Facet.
|
String |
toString()
Returns a string representation of this object.
|
UpdateFacetRequest |
withAttributeUpdates(Collection<FacetAttributeUpdate> attributeUpdates)
List of attributes that need to be updated in a given schema Facet.
|
UpdateFacetRequest |
withAttributeUpdates(FacetAttributeUpdate... attributeUpdates)
List of attributes that need to be updated in a given schema Facet.
|
UpdateFacetRequest |
withName(String name)
The name of the facet.
|
UpdateFacetRequest |
withObjectType(ObjectType objectType)
The object type that is associated with the facet.
|
UpdateFacetRequest |
withObjectType(String objectType)
The object type that is associated with the facet.
|
UpdateFacetRequest |
withSchemaArn(String schemaArn)
The Amazon Resource Name (ARN) that is associated with the Facet.
|
addHandlerContext, 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, withSdkRequestTimeout
public void setSchemaArn(String schemaArn)
public String getSchemaArn()
public UpdateFacetRequest withSchemaArn(String schemaArn)
public void setName(String name)
The name of the facet.
name
- The name of the facet.public String getName()
The name of the facet.
public UpdateFacetRequest withName(String name)
The name of the facet.
name
- The name of the facet.public List<FacetAttributeUpdate> getAttributeUpdates()
List of attributes that need to be updated in a given schema Facet. Each attribute is followed by
AttributeAction
, which specifies the type of update operation to perform.
AttributeAction
, which specifies the type of update operation to perform.public void setAttributeUpdates(Collection<FacetAttributeUpdate> attributeUpdates)
List of attributes that need to be updated in a given schema Facet. Each attribute is followed by
AttributeAction
, which specifies the type of update operation to perform.
attributeUpdates
- List of attributes that need to be updated in a given schema Facet. Each attribute is followed by
AttributeAction
, which specifies the type of update operation to perform.public UpdateFacetRequest withAttributeUpdates(FacetAttributeUpdate... attributeUpdates)
List of attributes that need to be updated in a given schema Facet. Each attribute is followed by
AttributeAction
, which specifies the type of update operation to perform.
NOTE: This method appends the values to the existing list (if any). Use
setAttributeUpdates(java.util.Collection)
or withAttributeUpdates(java.util.Collection)
if you
want to override the existing values.
attributeUpdates
- List of attributes that need to be updated in a given schema Facet. Each attribute is followed by
AttributeAction
, which specifies the type of update operation to perform.public UpdateFacetRequest withAttributeUpdates(Collection<FacetAttributeUpdate> attributeUpdates)
List of attributes that need to be updated in a given schema Facet. Each attribute is followed by
AttributeAction
, which specifies the type of update operation to perform.
attributeUpdates
- List of attributes that need to be updated in a given schema Facet. Each attribute is followed by
AttributeAction
, which specifies the type of update operation to perform.public void setObjectType(String objectType)
The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.
objectType
- The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more
details.ObjectType
public String getObjectType()
The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.
ObjectType
public UpdateFacetRequest withObjectType(String objectType)
The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.
objectType
- The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more
details.ObjectType
public void setObjectType(ObjectType objectType)
The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.
objectType
- The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more
details.ObjectType
public UpdateFacetRequest withObjectType(ObjectType objectType)
The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.
objectType
- The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more
details.ObjectType
public String toString()
toString
in class Object
Object.toString()
public UpdateFacetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()