@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Presign extends Object implements Serializable, Cloneable, StructuredPojo
This object defines the access restrictions to Amazon S3 resources that are included in custom worker task templates
using the Liquid filter, grant_read_access
.
To learn more about how custom templates are created, see Create custom worker task templates.
Constructor and Description |
---|
S3Presign() |
Modifier and Type | Method and Description |
---|---|
S3Presign |
clone() |
boolean |
equals(Object obj) |
IamPolicyConstraints |
getIamPolicyConstraints()
Use this parameter to specify the allowed request source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIamPolicyConstraints(IamPolicyConstraints iamPolicyConstraints)
Use this parameter to specify the allowed request source.
|
String |
toString()
Returns a string representation of this object.
|
S3Presign |
withIamPolicyConstraints(IamPolicyConstraints iamPolicyConstraints)
Use this parameter to specify the allowed request source.
|
public void setIamPolicyConstraints(IamPolicyConstraints iamPolicyConstraints)
Use this parameter to specify the allowed request source. Possible sources are either SourceIp
or
VpcSourceIp
.
iamPolicyConstraints
- Use this parameter to specify the allowed request source. Possible sources are either
SourceIp
or VpcSourceIp
.public IamPolicyConstraints getIamPolicyConstraints()
Use this parameter to specify the allowed request source. Possible sources are either SourceIp
or
VpcSourceIp
.
SourceIp
or VpcSourceIp
.public S3Presign withIamPolicyConstraints(IamPolicyConstraints iamPolicyConstraints)
Use this parameter to specify the allowed request source. Possible sources are either SourceIp
or
VpcSourceIp
.
iamPolicyConstraints
- Use this parameter to specify the allowed request source. Possible sources are either
SourceIp
or VpcSourceIp
.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.