Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elastictranscoder.model
Class Permission

java.lang.Object
  extended by com.amazonaws.services.elastictranscoder.model.Permission
All Implemented Interfaces:
Serializable

public class Permission
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Permission()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<String> getAccess()
           Constraints:
Length: 0 - 30
 String getGrantee()
           Constraints:
Length: 1 - 255
 String getGranteeType()
           Constraints:
Pattern: (^Canonical$)|(^Email$)|(^Group$)
 int hashCode()
           
 void setAccess(Collection<String> access)
           Constraints:
Length: 0 - 30
 void setGrantee(String grantee)
           Constraints:
Length: 1 - 255
 void setGranteeType(String granteeType)
           Constraints:
Pattern: (^Canonical$)|(^Email$)|(^Group$)
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Permission withAccess(Collection<String> access)
           Returns a reference to this object so that method calls can be chained together.
 Permission withAccess(String... access)
           Returns a reference to this object so that method calls can be chained together.
 Permission withGrantee(String grantee)
           Returns a reference to this object so that method calls can be chained together.
 Permission withGranteeType(String granteeType)
           Returns a reference to this object so that method calls can be chained together.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Permission

public Permission()
Method Detail

getGranteeType

public String getGranteeType()

Constraints:
Pattern: (^Canonical$)|(^Email$)|(^Group$)

Returns:

setGranteeType

public void setGranteeType(String granteeType)

Constraints:
Pattern: (^Canonical$)|(^Email$)|(^Group$)

Parameters:
granteeType -

withGranteeType

public Permission withGranteeType(String granteeType)

Returns a reference to this object so that method calls can be chained together.

Constraints:
Pattern: (^Canonical$)|(^Email$)|(^Group$)

Parameters:
granteeType -
Returns:
A reference to this updated object so that method calls can be chained together.

getGrantee

public String getGrantee()

Constraints:
Length: 1 - 255

Returns:

setGrantee

public void setGrantee(String grantee)

Constraints:
Length: 1 - 255

Parameters:
grantee -

withGrantee

public Permission withGrantee(String grantee)

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 255

Parameters:
grantee -
Returns:
A reference to this updated object so that method calls can be chained together.

getAccess

public List<String> getAccess()

Constraints:
Length: 0 - 30

Returns:

setAccess

public void setAccess(Collection<String> access)

Constraints:
Length: 0 - 30

Parameters:
access -

withAccess

public Permission withAccess(String... access)

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 30

Parameters:
access -
Returns:
A reference to this updated object so that method calls can be chained together.

withAccess

public Permission withAccess(Collection<String> access)

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 30

Parameters:
access -
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.