@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutMetadataRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutMetadataRequest() |
Modifier and Type | Method and Description |
---|---|
PutMetadataRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getChannelArn()
ARN of the channel into which metadata is inserted.
|
String |
getMetadata()
Metadata to insert into the stream.
|
int |
hashCode() |
void |
setChannelArn(String channelArn)
ARN of the channel into which metadata is inserted.
|
void |
setMetadata(String metadata)
Metadata to insert into the stream.
|
String |
toString()
Returns a string representation of this object.
|
PutMetadataRequest |
withChannelArn(String channelArn)
ARN of the channel into which metadata is inserted.
|
PutMetadataRequest |
withMetadata(String metadata)
Metadata to insert into the stream.
|
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 setChannelArn(String channelArn)
ARN of the channel into which metadata is inserted. This channel must have an active stream.
channelArn
- ARN of the channel into which metadata is inserted. This channel must have an active stream.public String getChannelArn()
ARN of the channel into which metadata is inserted. This channel must have an active stream.
public PutMetadataRequest withChannelArn(String channelArn)
ARN of the channel into which metadata is inserted. This channel must have an active stream.
channelArn
- ARN of the channel into which metadata is inserted. This channel must have an active stream.public void setMetadata(String metadata)
Metadata to insert into the stream. Maximum: 1 KB per request.
metadata
- Metadata to insert into the stream. Maximum: 1 KB per request.public String getMetadata()
Metadata to insert into the stream. Maximum: 1 KB per request.
public PutMetadataRequest withMetadata(String metadata)
Metadata to insert into the stream. Maximum: 1 KB per request.
metadata
- Metadata to insert into the stream. Maximum: 1 KB per request.public String toString()
toString
in class Object
Object.toString()
public PutMetadataRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()