@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Lens extends Object implements Serializable, Cloneable, StructuredPojo
A lens return object.
Constructor and Description |
---|
Lens() |
Modifier and Type | Method and Description |
---|---|
Lens |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Lens |
clearTagsEntries()
Removes all the entries added into Tags.
|
Lens |
clone() |
boolean |
equals(Object obj) |
String |
getDescription() |
String |
getLensArn()
The ARN of a lens.
|
String |
getLensVersion()
The version of a lens.
|
String |
getName() |
String |
getOwner()
The Amazon Web Services account ID that owns the lens.
|
String |
getShareInvitationId()
The ID assigned to the share invitation.
|
Map<String,String> |
getTags()
The tags assigned to the lens.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description) |
void |
setLensArn(String lensArn)
The ARN of a lens.
|
void |
setLensVersion(String lensVersion)
The version of a lens.
|
void |
setName(String name) |
void |
setOwner(String owner)
The Amazon Web Services account ID that owns the lens.
|
void |
setShareInvitationId(String shareInvitationId)
The ID assigned to the share invitation.
|
void |
setTags(Map<String,String> tags)
The tags assigned to the lens.
|
String |
toString()
Returns a string representation of this object.
|
Lens |
withDescription(String description) |
Lens |
withLensArn(String lensArn)
The ARN of a lens.
|
Lens |
withLensVersion(String lensVersion)
The version of a lens.
|
Lens |
withName(String name) |
Lens |
withOwner(String owner)
The Amazon Web Services account ID that owns the lens.
|
Lens |
withShareInvitationId(String shareInvitationId)
The ID assigned to the share invitation.
|
Lens |
withTags(Map<String,String> tags)
The tags assigned to the lens.
|
public void setLensArn(String lensArn)
The ARN of a lens.
lensArn
- The ARN of a lens.public String getLensArn()
The ARN of a lens.
public Lens withLensArn(String lensArn)
The ARN of a lens.
lensArn
- The ARN of a lens.public void setLensVersion(String lensVersion)
The version of a lens.
lensVersion
- The version of a lens.public String getLensVersion()
The version of a lens.
public Lens withLensVersion(String lensVersion)
The version of a lens.
lensVersion
- The version of a lens.public void setName(String name)
name
- public String getName()
public Lens withName(String name)
name
- public void setDescription(String description)
description
- public String getDescription()
public Lens withDescription(String description)
description
- public void setOwner(String owner)
The Amazon Web Services account ID that owns the lens.
owner
- The Amazon Web Services account ID that owns the lens.public String getOwner()
The Amazon Web Services account ID that owns the lens.
public Lens withOwner(String owner)
The Amazon Web Services account ID that owns the lens.
owner
- The Amazon Web Services account ID that owns the lens.public void setShareInvitationId(String shareInvitationId)
The ID assigned to the share invitation.
shareInvitationId
- The ID assigned to the share invitation.public String getShareInvitationId()
The ID assigned to the share invitation.
public Lens withShareInvitationId(String shareInvitationId)
The ID assigned to the share invitation.
shareInvitationId
- The ID assigned to the share invitation.public Map<String,String> getTags()
The tags assigned to the lens.
public void setTags(Map<String,String> tags)
The tags assigned to the lens.
tags
- The tags assigned to the lens.public Lens withTags(Map<String,String> tags)
The tags assigned to the lens.
tags
- The tags assigned to the lens.public Lens clearTagsEntries()
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.