@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetLineageGroupPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetLineageGroupPolicyResult() |
Modifier and Type | Method and Description |
---|---|
GetLineageGroupPolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getLineageGroupArn()
The Amazon Resource Name (ARN) of the lineage group.
|
String |
getResourcePolicy()
The resource policy that gives access to the lineage group in another account.
|
int |
hashCode() |
void |
setLineageGroupArn(String lineageGroupArn)
The Amazon Resource Name (ARN) of the lineage group.
|
void |
setResourcePolicy(String resourcePolicy)
The resource policy that gives access to the lineage group in another account.
|
String |
toString()
Returns a string representation of this object.
|
GetLineageGroupPolicyResult |
withLineageGroupArn(String lineageGroupArn)
The Amazon Resource Name (ARN) of the lineage group.
|
GetLineageGroupPolicyResult |
withResourcePolicy(String resourcePolicy)
The resource policy that gives access to the lineage group in another account.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setLineageGroupArn(String lineageGroupArn)
The Amazon Resource Name (ARN) of the lineage group.
lineageGroupArn
- The Amazon Resource Name (ARN) of the lineage group.public String getLineageGroupArn()
The Amazon Resource Name (ARN) of the lineage group.
public GetLineageGroupPolicyResult withLineageGroupArn(String lineageGroupArn)
The Amazon Resource Name (ARN) of the lineage group.
lineageGroupArn
- The Amazon Resource Name (ARN) of the lineage group.public void setResourcePolicy(String resourcePolicy)
The resource policy that gives access to the lineage group in another account.
resourcePolicy
- The resource policy that gives access to the lineage group in another account.public String getResourcePolicy()
The resource policy that gives access to the lineage group in another account.
public GetLineageGroupPolicyResult withResourcePolicy(String resourcePolicy)
The resource policy that gives access to the lineage group in another account.
resourcePolicy
- The resource policy that gives access to the lineage group in another account.public String toString()
toString
in class Object
Object.toString()
public GetLineageGroupPolicyResult clone()