@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PortfolioShareDetail extends Object implements Serializable, Cloneable, StructuredPojo
Information about the portfolio share.
Constructor and Description |
---|
PortfolioShareDetail() |
Modifier and Type | Method and Description |
---|---|
PortfolioShareDetail |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAccepted()
Indicates whether the shared portfolio is imported by the recipient account.
|
String |
getPrincipalId()
The identifier of the recipient entity that received the portfolio share.
|
Boolean |
getSharePrincipals()
Indicates if
Principal sharing is enabled or disabled for the portfolio share. |
Boolean |
getShareTagOptions()
Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.
|
String |
getType()
The type of the portfolio share.
|
int |
hashCode() |
Boolean |
isAccepted()
Indicates whether the shared portfolio is imported by the recipient account.
|
Boolean |
isSharePrincipals()
Indicates if
Principal sharing is enabled or disabled for the portfolio share. |
Boolean |
isShareTagOptions()
Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccepted(Boolean accepted)
Indicates whether the shared portfolio is imported by the recipient account.
|
void |
setPrincipalId(String principalId)
The identifier of the recipient entity that received the portfolio share.
|
void |
setSharePrincipals(Boolean sharePrincipals)
Indicates if
Principal sharing is enabled or disabled for the portfolio share. |
void |
setShareTagOptions(Boolean shareTagOptions)
Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.
|
void |
setType(String type)
The type of the portfolio share.
|
String |
toString()
Returns a string representation of this object.
|
PortfolioShareDetail |
withAccepted(Boolean accepted)
Indicates whether the shared portfolio is imported by the recipient account.
|
PortfolioShareDetail |
withPrincipalId(String principalId)
The identifier of the recipient entity that received the portfolio share.
|
PortfolioShareDetail |
withSharePrincipals(Boolean sharePrincipals)
Indicates if
Principal sharing is enabled or disabled for the portfolio share. |
PortfolioShareDetail |
withShareTagOptions(Boolean shareTagOptions)
Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.
|
PortfolioShareDetail |
withType(DescribePortfolioShareType type)
The type of the portfolio share.
|
PortfolioShareDetail |
withType(String type)
The type of the portfolio share.
|
public void setPrincipalId(String principalId)
The identifier of the recipient entity that received the portfolio share. The recipient entity can be one of the following:
1. An external account.
2. An organziation member account.
3. An organzational unit (OU).
4. The organization itself. (This shares with every account in the organization).
principalId
- The identifier of the recipient entity that received the portfolio share. The recipient entity can be one
of the following:
1. An external account.
2. An organziation member account.
3. An organzational unit (OU).
4. The organization itself. (This shares with every account in the organization).
public String getPrincipalId()
The identifier of the recipient entity that received the portfolio share. The recipient entity can be one of the following:
1. An external account.
2. An organziation member account.
3. An organzational unit (OU).
4. The organization itself. (This shares with every account in the organization).
1. An external account.
2. An organziation member account.
3. An organzational unit (OU).
4. The organization itself. (This shares with every account in the organization).
public PortfolioShareDetail withPrincipalId(String principalId)
The identifier of the recipient entity that received the portfolio share. The recipient entity can be one of the following:
1. An external account.
2. An organziation member account.
3. An organzational unit (OU).
4. The organization itself. (This shares with every account in the organization).
principalId
- The identifier of the recipient entity that received the portfolio share. The recipient entity can be one
of the following:
1. An external account.
2. An organziation member account.
3. An organzational unit (OU).
4. The organization itself. (This shares with every account in the organization).
public void setType(String type)
The type of the portfolio share.
type
- The type of the portfolio share.DescribePortfolioShareType
public String getType()
The type of the portfolio share.
DescribePortfolioShareType
public PortfolioShareDetail withType(String type)
The type of the portfolio share.
type
- The type of the portfolio share.DescribePortfolioShareType
public PortfolioShareDetail withType(DescribePortfolioShareType type)
The type of the portfolio share.
type
- The type of the portfolio share.DescribePortfolioShareType
public void setAccepted(Boolean accepted)
Indicates whether the shared portfolio is imported by the recipient account. If the recipient is in an organization node, the share is automatically imported, and the field is always set to true.
accepted
- Indicates whether the shared portfolio is imported by the recipient account. If the recipient is in an
organization node, the share is automatically imported, and the field is always set to true.public Boolean getAccepted()
Indicates whether the shared portfolio is imported by the recipient account. If the recipient is in an organization node, the share is automatically imported, and the field is always set to true.
public PortfolioShareDetail withAccepted(Boolean accepted)
Indicates whether the shared portfolio is imported by the recipient account. If the recipient is in an organization node, the share is automatically imported, and the field is always set to true.
accepted
- Indicates whether the shared portfolio is imported by the recipient account. If the recipient is in an
organization node, the share is automatically imported, and the field is always set to true.public Boolean isAccepted()
Indicates whether the shared portfolio is imported by the recipient account. If the recipient is in an organization node, the share is automatically imported, and the field is always set to true.
public void setShareTagOptions(Boolean shareTagOptions)
Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.
shareTagOptions
- Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.public Boolean getShareTagOptions()
Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.
public PortfolioShareDetail withShareTagOptions(Boolean shareTagOptions)
Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.
shareTagOptions
- Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.public Boolean isShareTagOptions()
Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.
public void setSharePrincipals(Boolean sharePrincipals)
Indicates if Principal
sharing is enabled or disabled for the portfolio share.
sharePrincipals
- Indicates if Principal
sharing is enabled or disabled for the portfolio share.public Boolean getSharePrincipals()
Indicates if Principal
sharing is enabled or disabled for the portfolio share.
Principal
sharing is enabled or disabled for the portfolio share.public PortfolioShareDetail withSharePrincipals(Boolean sharePrincipals)
Indicates if Principal
sharing is enabled or disabled for the portfolio share.
sharePrincipals
- Indicates if Principal
sharing is enabled or disabled for the portfolio share.public Boolean isSharePrincipals()
Indicates if Principal
sharing is enabled or disabled for the portfolio share.
Principal
sharing is enabled or disabled for the portfolio share.public String toString()
toString
in class Object
Object.toString()
public PortfolioShareDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.