@Generated(value="software.amazon.awssdk:codegen") public final class PortfolioShareDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PortfolioShareDetail.Builder,PortfolioShareDetail>
Information about the portfolio share.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PortfolioShareDetail.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
accepted()
Indicates whether the shared portfolio is imported by the recipient account.
|
static PortfolioShareDetail.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
principalId()
The identifier of the recipient entity that received the portfolio share.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PortfolioShareDetail.Builder> |
serializableBuilderClass() |
Boolean |
sharePrincipals()
Indicates if
Principal sharing is enabled or disabled for the portfolio share. |
Boolean |
shareTagOptions()
Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.
|
PortfolioShareDetail.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
DescribePortfolioShareType |
type()
The type of the portfolio share.
|
String |
typeAsString()
The type of the portfolio share.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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).
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 final DescribePortfolioShareType type()
The type of the portfolio share.
If the service returns an enum value that is not available in the current SDK version, type will return
DescribePortfolioShareType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from typeAsString().
DescribePortfolioShareTypepublic final String typeAsString()
The type of the portfolio share.
If the service returns an enum value that is not available in the current SDK version, type will return
DescribePortfolioShareType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from typeAsString().
DescribePortfolioShareTypepublic final 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.
public final Boolean shareTagOptions()
Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.
public final Boolean sharePrincipals()
Indicates if Principal sharing is enabled or disabled for the portfolio share.
Principal sharing is enabled or disabled for the portfolio share.public PortfolioShareDetail.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PortfolioShareDetail.Builder,PortfolioShareDetail>public static PortfolioShareDetail.Builder builder()
public static Class<? extends PortfolioShareDetail.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.